Uses of Interface
com.strobel.core.Predicate
Packages that use Predicate
Package
Description
-
Uses of Predicate in com.strobel.assembler.flowanalysis
Fields in com.strobel.assembler.flowanalysis declared as PredicateModifier and TypeFieldDescriptionstatic final Predicate
<ControlFlowNode> ControlFlowNode.REACHABLE_PREDICATE
-
Uses of Predicate in com.strobel.assembler.ir
Methods in com.strobel.assembler.ir that return PredicateModifier and TypeMethodDescriptionstatic final Predicate
<InstructionBlock> InstructionBlock.containsBlockPredicate
(InstructionBlock block) static final Predicate
<InstructionBlock> InstructionBlock.containsInstructionPredicate
(Instruction instruction) -
Uses of Predicate in com.strobel.assembler.metadata
Methods in com.strobel.assembler.metadata that return PredicateModifier and TypeMethodDescriptionstatic <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
(String descriptor) static <T extends MemberReference>
Predicate<T> static <T extends MemberReference>
Predicate<T> MetadataFilters.matchNameAndDescriptor
(String name, String descriptor) static <T extends MemberReference>
Predicate<T> MetadataFilters.matchNameAndSignature
(String name, String signature) static <T extends MemberReference>
Predicate<T> MetadataFilters.matchSignature
(String signature) Methods in com.strobel.assembler.metadata with parameters of type PredicateModifier and TypeMethodDescriptionstatic List
<MethodReference> MetadataHelper.findMethods
(TypeReference type, Predicate<? super MethodReference> filter) static List
<MethodReference> MetadataHelper.findMethods
(TypeReference type, Predicate<? super MethodReference> filter, boolean includeBridgeMethods) static 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 PredicateModifier and TypeFieldDescriptionPredicates.FALSE
a predicate who's result is alwaysfalse
.CollectionUtilities.WhereSelectIterableIterator.filter
Predicates.IS_NULL
a predicate that evaluates totrue
if the reference being tested isnull
.Predicates.NON_NULL
a predicate that evaluates totrue
if the reference being tested is notnull
.CollectionUtilities.SkipIterator.skipFilter
CollectionUtilities.TakeIterator.takeFilter
Predicates.TRUE
a predicate who's result is alwaystrue
.Methods in com.strobel.core that return PredicateModifier and TypeMethodDescriptionstatic <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> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate
<T> Predicates.contains
(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
(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
(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> 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> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate
<T> 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 PredicateModifier and TypeMethodDescriptionstatic <T> boolean
static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> boolean
static <T> T
static <T> int
CollectionUtilities.firstIndexWhere
(Iterable<T> collection, Predicate<T> predicate) static <T> T
CollectionUtilities.firstOrDefault
(Iterable<T> collection, Predicate<T> predicate) static <T> T
static <T> int
CollectionUtilities.lastIndexWhere
(Iterable<T> collection, Predicate<T> predicate) static <T> T
CollectionUtilities.lastOrDefault
(Iterable<T> collection, Predicate<T> predicate) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if the provided predicate evaluates tofalse
static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Iterable
<T> static <T> Iterable
<T> static <T> Iterable
<T> static <T> Predicate
<T> 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 PredicateModifier and TypeMethodDescription(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if all of the component predicates evaluate totrue
.(package private) static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.static <T> Predicate
<T> Returns a predicate that evaluates totrue
if any of the component predicates evaluate totrue
.Constructors in com.strobel.core with parameters of type PredicateModifierConstructorDescription(package private)
SkipIterator
(Iterable<T> source, Predicate<? super T> skipFilter) (package private)
TakeIterator
(Iterable<T> source, int takeCount, Predicate<? super T> takeFilter) (package private)
TakeIterator
(Iterable<T> source, Predicate<? super T> takeFilter) (package private)
WhereSelectIterableIterator
(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 PredicateMethods in com.strobel.decompiler.ast with parameters of type PredicateModifier and TypeMethodDescriptionprivate <T extends Node>
voidNode.accumulateSelfAndChildrenRecursive
(List<T> list, Class<T> type, Predicate<? super T> predicate, boolean childrenFirst, boolean skipChildrenOfFilteredNodes) Node.getChildrenAndSelfRecursive
(Predicate<Node> predicate) Node.getChildrenAndSelfRecursive
(Predicate<Node> predicate, boolean skipChildrenOfFilteredNodes) Node.getChildrenAndSelfRecursive
(Class<T> type, Predicate<? super T> predicate) Node.getSelfAndChildrenRecursive
(Predicate<Node> predicate) Node.getSelfAndChildrenRecursive
(Predicate<Node> predicate, boolean skipChildrenOfFilteredNodes) Node.getSelfAndChildrenRecursive
(Class<T> type, Predicate<? super T> predicate) static boolean
static boolean
PatternMatching.matchLoad
(Node node, StrongBox<? super Object> temp, Predicate<? super Variable> condition) static <T> boolean
TypeAnalysis.trueForAll
(Iterable<T> sequence, Predicate<T> condition) -
Uses of Predicate in com.strobel.decompiler.languages.java
Fields in com.strobel.decompiler.languages.java declared as PredicateModifier and TypeFieldDescriptionprivate final Predicate
<IAstTransform> JavaLanguage._transformAbortCondition
Constructors in com.strobel.decompiler.languages.java with parameters of type PredicateModifierConstructorDescriptionprivate
JavaLanguage
(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 PredicateModifier and TypeMethodDescriptionAstNodeCollection.firstOrNullObject
(Predicate<T> predicate) AstNodeCollection.lastOrNullObject
(Predicate<T> predicate) final 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 PredicateModifier and TypeFieldDescriptionprivate static final Predicate
<Annotation> AddStandardAnnotationsTransform.IS_DEPRECATED_ANNOTATION
private static final Predicate
<Annotation> AddStandardAnnotationsTransform.IS_OVERRIDE_ANNOTATION
Methods in com.strobel.decompiler.languages.java.ast.transforms with parameters of type PredicateModifier and TypeMethodDescriptionstatic void
TransformationPipeline.runTransformationsUntil
(AstNode node, Predicate<IAstTransform> abortCondition, DecompilerContext context)