See: Description
Interface | Description |
---|---|
ElementMatcher<T> |
An element matcher is used as a predicate for identifying code elements such as types, methods, fields or
annotations.
|
ElementMatcher.Junction<S> |
A junctions allows to chain different
ElementMatcher s in a readable manner. |
FilterableList<T,S extends FilterableList<T,S>> |
A filterable list allows to use an
ElementMatcher to reduce a lists to elements
that are matched by this matcher in this list. |
LatentMatcher<T> |
A latent matcher that resolves an
ElementMatcher after supplying a type description. |
Class | Description |
---|---|
AccessibilityMatcher<T extends ByteCodeElement> |
An element matcher that validates that a given byte code element is accessible to a given type.
|
AnnotationTargetMatcher<T extends AnnotationDescription> |
A matcher for annotations that target a given element type.
|
AnnotationTypeMatcher<T extends AnnotationDescription> |
An element matcher that matches the type of an annotation description.
|
ArrayTypeMatcher<T extends TypeDefinition> |
Matches an enumeration type.
|
BooleanMatcher<T> |
An element matcher that returns a fixed result.
|
CachingMatcher<T> |
A matcher that remembers the results of previously matching an equal target.
|
CachingMatcher.WithInlineEviction<S> |
A caching matcher with inline cache eviction.
|
ClassLoaderHierarchyMatcher<T extends ClassLoader> |
An element matcher that matches all
ClassLoader s in the matched class loaders hierarchy
against a given matcher. |
ClassLoaderParentMatcher<T extends ClassLoader> |
An element matcher that matches a class loader for being a parent of the given class loader.
|
CollectionElementMatcher<T> |
A matcher that matches a given element of a collection.
|
CollectionErasureMatcher<T extends Iterable<? extends TypeDefinition>> |
An element matcher that matches a collection of types by their erasures.
|
CollectionItemMatcher<T> |
A list item matcher matches any element of a collection to a given matcher and assures that at least one
element matches the supplied iterable condition.
|
CollectionOneToOneMatcher<T> |
An element matcher that matches a given iterable collection to a list of matchers on a per-element basis.
|
CollectionSizeMatcher<T extends Iterable<?>> |
An element matcher that matches a collection by its size.
|
DeclaringAnnotationMatcher<T extends AnnotationSource> |
An element matcher that matches the list of annotations that are provided by an annotated element.
|
DeclaringFieldMatcher<T extends TypeDefinition> |
An element matcher that checks if a type description declares fields of a given property.
|
DeclaringMethodMatcher<T extends TypeDefinition> |
An element matcher that checks if a type description declares methods of a given property.
|
DeclaringTypeMatcher<T extends DeclaredByType> |
An element matcher that matches the declaring type of another element, only if this element is actually declared
in a type.
|
DefinedShapeMatcher<T extends ByteCodeElement.TypeDependant<S,?>,S extends ByteCodeElement.TypeDependant<?,?>> |
An element matcher that matches a byte code's element's token against a matcher for such a token.
|
DescriptorMatcher<T extends NamedElement.WithDescriptor> |
An element matcher that matches a Java descriptor.
|
ElementMatcher.Junction.AbstractBase<V> |
A base implementation of
ElementMatcher.Junction . |
ElementMatcher.Junction.Conjunction<W> |
A conjunction matcher which only matches an element if both represented matchers constitute a match.
|
ElementMatcher.Junction.Disjunction<W> |
A disjunction matcher which only matches an element if both represented matchers constitute a match.
|
ElementMatchers |
A utility class that contains a human-readable language for creating
ElementMatcher s. |
EqualityMatcher<T> |
An element matcher that checks an object's equality to another object.
|
ErasureMatcher<T extends TypeDefinition> |
An element matcher that matches its argument's
TypeDescription.Generic raw type against the
given matcher for a TypeDescription . |
FailSafeMatcher<T> |
A fail-safe matcher catches exceptions that are thrown by a delegate matcher and returns an alternative value.
|
FieldTypeMatcher<T extends FieldDescription> |
An element matcher that matches a field's type.
|
FilterableList.AbstractBase<T,S extends FilterableList<T,S>> |
A base implementation of a
FilterableList . |
FilterableList.Empty<T,S extends FilterableList<T,S>> |
An implementation of an empty
FilterableList . |
HasSuperClassMatcher<T extends TypeDescription> |
An element matcher that matches a super class.
|
HasSuperTypeMatcher<T extends TypeDescription> |
An element matcher that matches a super type.
|
InheritedAnnotationMatcher<T extends TypeDescription> |
An element matcher that matches the list of inherited annotations of a type description.
|
InstanceTypeMatcher<T> |
An element matcher that matches an object's type.
|
IsNamedMatcher<T extends NamedElement.WithOptionalName> |
An element matcher that matches a named element only if is explicitly named.
|
LatentMatcher.Conjunction<S> |
A matcher that computes the conjunction of all supplied latent matchers.
|
LatentMatcher.Disjunction<S> |
A matcher that computes the disjunction of all supplied latent matchers.
|
LatentMatcher.ForFieldToken |
A latent matcher where the field token is being attached to the supplied type description before matching.
|
LatentMatcher.ForFieldToken.ResolvedMatcher |
A resolved matcher of a latent field matcher for a field token.
|
LatentMatcher.ForMethodToken |
A latent matcher where the method token is being attached to the supplied type description before matching.
|
LatentMatcher.ForMethodToken.ResolvedMatcher |
A resolved matcher of a latent method matcher for a method token.
|
LatentMatcher.ForRecordComponentToken |
A latent matcher for a record component token.
|
LatentMatcher.Resolved<S> |
A latent matcher representing an already resolved
ElementMatcher . |
MethodExceptionTypeMatcher<T extends MethodDescription> |
An element matcher that matches the exceptions that are declared by a method.
|
MethodOverrideMatcher<T extends MethodDescription> |
A matcher that checks if any super type of a type declares a method with the same shape of a matched method.
|
MethodParametersMatcher<T extends MethodDescription> |
An element matcher that matches a method's parameters.
|
MethodParameterTypeMatcher<T extends ParameterDescription> |
An element matcher that matches a method's parameter's type.
|
MethodParameterTypesMatcher<T extends ParameterList<?>> |
An element matcher that matches a method's parameter types.
|
MethodReturnTypeMatcher<T extends MethodDescription> |
An element matcher that matches its argument's return type against a given type matcher.
|
MethodSortMatcher<T extends MethodDescription> |
Matches a method description by its general characteristics which are represented as a
MethodSortMatcher.Sort . |
ModifierMatcher<T extends ModifierReviewable> |
An element matcher that matches a byte code element by its modifiers.
|
NameMatcher<T extends NamedElement> |
A method matcher that matches a byte code element's source code name:
The source code name of types is equal to their binary name where arrays are appended a
[] by
their arity and where inner classes are appended by dollar signs to their outer class's source name.
Constructors and the type initializer methods are represented by the empty string as they do not
represent a source code name.
Fields are named as in the source code.
|
NegatingMatcher<T> |
An element matcher that reverses the matching result of another matcher.
|
NullMatcher<T> |
An element matcher that matches the
null value. |
PrimitiveTypeMatcher<T extends TypeDefinition> |
Matches a primitive type.
|
RecordMatcher<T extends TypeDefinition> |
Matches a record.
|
SignatureTokenMatcher<T extends MethodDescription> |
Matches a method description's signature token against another matcher.
|
StringMatcher |
An element matcher that compares two strings by a given pattern which is characterized by a
StringMatcher.Mode . |
StringSetMatcher |
An element matcher which checks if a string is in a set of strings.
|
SubTypeMatcher<T extends TypeDescription> |
An element matcher that matches its argument for being another type's subtype.
|
SuperTypeMatcher<T extends TypeDescription> |
An element matcher that matches its argument for being another type's super type.
|
TypeSortMatcher<T extends TypeDefinition> |
An element matcher that validates that a given generic type description represents a type of a given name.
|
VisibilityMatcher<T extends ByteCodeElement> |
An element matcher that validates that a given byte code element is visible to a given type.
|
Enum | Description |
---|---|
LatentMatcher.ForSelfDeclaredMethod |
A latent matching methods that are declared by the resolved type.
|
MethodSortMatcher.Sort |
Represents a specific characteristic of a method description.
|
ModifierMatcher.Mode |
Determines the type of modifier to be matched by a
ModifierMatcher . |
StringMatcher.Mode |
Defines the mode a
StringMatcher compares to strings with. |
Copyright © 2014–2020. All rights reserved.