Uses of Interface
com.strobel.core.Predicate
-
-
Uses of Predicate in com.strobel.assembler.flowanalysis
Fields in com.strobel.assembler.flowanalysis declared as Predicate Modifier and Type Field Description static Predicate<ControlFlowNode>
ControlFlowNode. REACHABLE_PREDICATE
-
Uses of Predicate in com.strobel.assembler.ir
Methods in com.strobel.assembler.ir that return Predicate Modifier and Type Method Description static Predicate<InstructionBlock>
InstructionBlock. containsBlockPredicate(InstructionBlock block)
static Predicate<InstructionBlock>
InstructionBlock. containsInstructionPredicate(Instruction instruction)
-
Uses of Predicate in com.strobel.assembler.metadata
Methods in com.strobel.assembler.metadata that return Predicate Modifier and Type Method Description static <T extends TypeReference>
Predicate<T>MetadataFilters. isAssignableFrom(TypeReference sourceType)
static <T extends TypeReference>
Predicate<T>MetadataFilters. isAssignableTo(TypeReference targetType)
static <T extends TypeReference>
Predicate<T>MetadataFilters. isSubType(TypeReference anchor)
static <T extends TypeReference>
Predicate<T>MetadataFilters. isSuperType(TypeReference anchor)
static <T extends MemberReference>
Predicate<T>MetadataFilters. matchDescriptor(java.lang.String descriptor)
static <T extends MemberReference>
Predicate<T>MetadataFilters. matchName(java.lang.String name)
static <T extends MemberReference>
Predicate<T>MetadataFilters. matchNameAndDescriptor(java.lang.String name, java.lang.String descriptor)
static <T extends MemberReference>
Predicate<T>MetadataFilters. matchNameAndSignature(java.lang.String name, java.lang.String signature)
static <T extends MemberReference>
Predicate<T>MetadataFilters. matchSignature(java.lang.String signature)
Methods in com.strobel.assembler.metadata with parameters of type Predicate Modifier and Type Method Description static java.util.List<MethodReference>
MetadataHelper. findMethods(TypeReference type, Predicate<? super MethodReference> filter)
static java.util.List<MethodReference>
MetadataHelper. findMethods(TypeReference type, Predicate<? super MethodReference> filter, boolean includeBridgeMethods)
static java.util.List<MethodReference>
MetadataHelper. findMethods(TypeReference type, Predicate<? super MethodReference> filter, boolean includeBridgeMethods, boolean includeOverriddenMethods)
-
Uses of Predicate in com.strobel.core
Fields in com.strobel.core declared as Predicate Modifier and Type Field Description static Predicate<java.lang.Object>
Predicates. FALSE
a predicate who's result is alwaysfalse
.(package private) Predicate<? super T>
CollectionUtilities.WhereSelectIterableIterator. filter
static Predicate<java.lang.Object>
Predicates. IS_NULL
a predicate that evaluates totrue
if the reference being tested isnull
.static Predicate<java.lang.Object>
Predicates. NON_NULL
a predicate that evaluates totrue
if the reference being tested is notnull
.(package private) Predicate<? super T>
CollectionUtilities.SkipIterator. skipFilter
(package private) Predicate<? super T>
CollectionUtilities.TakeIterator. takeFilter
static Predicate<java.lang.Object>
Predicates. TRUE
a predicate who's result is alwaystrue
.Methods in com.strobel.core that return Predicate Modifier and Type Method Description static <T> Predicate<T>
Predicates. alwaysFalse()
Returns a predicate who's result is alwaysfalse
.static <T> Predicate<T>
Predicates. alwaysTrue()
Returns a predicate who's result is alwaystrue
.static <T> Predicate<T>
Predicates. and(Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. and(Predicate<? super T> first, Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. and(Predicate<? super T> first, java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. and(Predicate<T> first, Predicate<? super T> second)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. and(java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. contains(java.util.Collection<? extends T> target)
Creates a predicate that evaluates totrue
if the tested object is a member of the provided collection.static <T> Predicate<T>
Predicates. containsKey(java.util.Map<? extends T,?> target)
Creates a predicate that evaluates totrue
if the tested object is a key in the provided map.static <T> Predicate<T>
Predicates. instanceOf(java.lang.Class<?> clazz)
Returns a predicate that evaluates totrue
if the object being tested is an instance of the provided class.static <T> Predicate<T>
Predicates. isEqual(T target)
Returns a predicate who's result matchesObjects.equals(target, t)
.static <T> Predicate<T>
Predicates. isNull()
Returns a predicate that evaluates totrue
if the reference being tested isnull
.static <T> Predicate<T>
Predicates. isSame(T target)
Returns a predicate that who's result istarget == object
.static <T> Predicate<T>
Predicates. negate(Predicate<? super T> predicate)
Returns a predicate that evaluates totrue
if the provided predicate evaluates tofalse
static <T> Predicate<T>
Predicates. nonNull()
Returns a predicate that evaluates totrue
if the reference being tested is non-null
.static <T> Predicate<T>
Predicates. or(Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. or(Predicate<? super T> first, java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. or(Predicate<T> first, Predicate<? super T> second)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. or(Predicate<T> first, Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. or(java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. xor(Predicate<T> first, Predicate<? super T> second)
Returns a predicate that evaluates totrue
if all or none of the component predicates evaluate totrue
.Methods in com.strobel.core with parameters of type Predicate Modifier and Type Method Description static <T> boolean
CollectionUtilities. all(java.lang.Iterable<T> collection, Predicate<? super T> predicate)
static <T> Predicate<T>
Predicates. and(Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. and(Predicate<? super T> first, Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. and(Predicate<? super T> first, java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. and(Predicate<T> first, Predicate<? super T> second)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> boolean
CollectionUtilities. any(java.lang.Iterable<T> collection, Predicate<? super T> predicate)
static <T> T
CollectionUtilities. first(java.lang.Iterable<T> collection, Predicate<T> predicate)
static <T> int
CollectionUtilities. firstIndexWhere(java.lang.Iterable<T> collection, Predicate<T> predicate)
static <T> T
CollectionUtilities. firstOrDefault(java.lang.Iterable<T> collection, Predicate<T> predicate)
static <T> T
CollectionUtilities. last(java.lang.Iterable<T> collection, Predicate<T> predicate)
static <T> int
CollectionUtilities. lastIndexWhere(java.lang.Iterable<T> collection, Predicate<T> predicate)
static <T> T
CollectionUtilities. lastOrDefault(java.lang.Iterable<T> collection, Predicate<T> predicate)
static <T> Predicate<T>
Predicates. negate(Predicate<? super T> predicate)
Returns a predicate that evaluates totrue
if the provided predicate evaluates tofalse
static <T> Predicate<T>
Predicates. or(Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. or(Predicate<? super T> first, java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. or(Predicate<T> first, Predicate<? super T> second)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. or(Predicate<T> first, Predicate<? super T>... components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> java.lang.Iterable<T>
CollectionUtilities. skipWhile(java.lang.Iterable<T> collection, Predicate<? super T> filter)
static <T> java.lang.Iterable<T>
CollectionUtilities. takeWhile(java.lang.Iterable<T> collection, Predicate<? super T> filter)
static <T> java.lang.Iterable<T>
CollectionUtilities. where(java.lang.Iterable<T> source, Predicate<? super T> filter)
java.lang.Iterable<R>
CollectionUtilities.WhereSelectIterableIterator. where(Predicate<? super R> filter)
static <T> Predicate<T>
Predicates. xor(Predicate<T> first, Predicate<? super T> second)
Returns a predicate that evaluates totrue
if all or none of the component predicates evaluate totrue
.Method parameters in com.strobel.core with type arguments of type Predicate Modifier and Type Method Description (package private) static <T> Predicate<T>
Predicates. and(Predicate<? super T> first, java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. and(java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate<T>
Predicates. or(Predicate<? super T> first, java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate<T>
Predicates. or(java.lang.Iterable<Predicate<? super T>> components)
Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.Constructors in com.strobel.core with parameters of type Predicate Constructor Description SkipIterator(java.lang.Iterable<T> source, Predicate<? super T> skipFilter)
TakeIterator(java.lang.Iterable<T> source, int takeCount, Predicate<? super T> takeFilter)
TakeIterator(java.lang.Iterable<T> source, Predicate<? super T> takeFilter)
WhereSelectIterableIterator(java.lang.Iterable<T> source, Predicate<? super T> filter, Selector<? super T,? extends R> selector)
-
Uses of Predicate in com.strobel.decompiler.ast
Fields in com.strobel.decompiler.ast declared as Predicate Modifier and Type Field Description private static Predicate<Variable>
Inlining. IS_FLOAT_VARIABLE
private static Predicate<Node>
AstBuilder. NOT_A_LABEL_OR_NOP
Methods in com.strobel.decompiler.ast with parameters of type Predicate Modifier and Type Method Description private <T extends Node>
voidNode. accumulateSelfAndChildrenRecursive(java.util.List<T> list, java.lang.Class<T> type, Predicate<? super T> predicate, boolean childrenFirst, boolean skipChildrenOfFilteredNodes)
java.util.List<Node>
Node. getChildrenAndSelfRecursive(Predicate<Node> predicate)
java.util.List<Node>
Node. getChildrenAndSelfRecursive(Predicate<Node> predicate, boolean skipChildrenOfFilteredNodes)
<T extends Node>
java.util.List<T>Node. getChildrenAndSelfRecursive(java.lang.Class<T> type, Predicate<? super T> predicate)
java.util.List<Node>
Node. getSelfAndChildrenRecursive(Predicate<Node> predicate)
java.util.List<Node>
Node. getSelfAndChildrenRecursive(Predicate<Node> predicate, boolean skipChildrenOfFilteredNodes)
<T extends Node>
java.util.List<T>Node. getSelfAndChildrenRecursive(java.lang.Class<T> type, Predicate<? super T> predicate)
static boolean
PatternMatching. matchLoad(Node node, Predicate<? super Variable> condition)
static boolean
PatternMatching. matchLoad(Node node, StrongBox<? super java.lang.Object> temp, Predicate<? super Variable> condition)
static <T> boolean
TypeAnalysis. trueForAll(java.lang.Iterable<T> sequence, Predicate<T> condition)
-
Uses of Predicate in com.strobel.decompiler.languages.java
Fields in com.strobel.decompiler.languages.java declared as Predicate Modifier and Type Field Description private Predicate<IAstTransform>
JavaLanguage. _transformAbortCondition
Constructors in com.strobel.decompiler.languages.java with parameters of type Predicate Constructor Description JavaLanguage(java.lang.String name, Predicate<IAstTransform> transformAbortCondition)
-
Uses of Predicate in com.strobel.decompiler.languages.java.ast
Methods in com.strobel.decompiler.languages.java.ast with parameters of type Predicate Modifier and Type Method Description T
AstNodeCollection. firstOrNullObject(Predicate<T> predicate)
T
AstNodeCollection. lastOrNullObject(Predicate<T> predicate)
void
AstBuilder. runTransformations(Predicate<IAstTransform> transformAbortCondition)
-
Uses of Predicate in com.strobel.decompiler.languages.java.ast.transforms
Fields in com.strobel.decompiler.languages.java.ast.transforms declared as Predicate Modifier and Type Field Description private static Predicate<Annotation>
AddStandardAnnotationsTransform. IS_DEPRECATED_ANNOTATION
private static Predicate<Annotation>
AddStandardAnnotationsTransform. IS_OVERRIDE_ANNOTATION
Methods in com.strobel.decompiler.languages.java.ast.transforms with parameters of type Predicate Modifier and Type Method Description static void
TransformationPipeline. runTransformationsUntil(AstNode node, Predicate<IAstTransform> abortCondition, DecompilerContext context)
-