MCPcopy Create free account
hub / github.com/LFYSec/MScan / alwaysTrue

Method alwaysTrue

src/main/java/pascal/taie/util/Predicates.java:67–69  ·  view source on GitHub ↗

@return a predicate that always evaluates to true.

()

Source from the content-addressed store, hash-verified

65 * @return a predicate that always evaluates to {@code true}.
66 */
67 public static <T> Predicate<T> alwaysTrue() {
68 return PresetPredicates.ALWAYS_TRUE.withNarrowedType();
69 }
70
71 /**
72 * @return a predicate that always evaluates to {@code false}.

Callers 1

getSCPredicateMethod · 0.95

Calls 1

withNarrowedTypeMethod · 0.80

Tested by

no test coverage detected