<U extends V> ElementMatcher.Junction<U> |
ElementMatcher.Junction.AbstractBase.and(ElementMatcher<? super U> other) |
Creates a conjunction where this matcher and the other matcher must both be matched in order
to constitute a successful match.
|
<U extends S> ElementMatcher.Junction<U> |
ElementMatcher.Junction.and(ElementMatcher<? super U> other) |
Creates a conjunction where this matcher and the other matcher must both be matched in order
to constitute a successful match.
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.annotationType(Class<? extends Annotation> type) |
Matches if an annotation is of a given type.
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.annotationType(TypeDescription type) |
Matches if an annotation is of a given type.
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.annotationType(ElementMatcher<? super TypeDescription> matcher) |
Matches if an annotation's type matches the supplied matcher.
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.any() |
Creates a matcher that always returns true .
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Annotation... value) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Iterable<?> values) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Object... value) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Constructor<?>... value) |
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Field... value) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Method... value) |
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.anyOf(Type... value) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.cached(ElementMatcher<? super T> matcher,
int evictionSize) |
Wraps another matcher but caches the result of previously matched elements.
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.cached(ElementMatcher<? super T> matcher,
ConcurrentMap<? super T,Boolean> map) |
Wraps another matcher but caches the result of previously matched elements.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.canThrow(Class<? extends Throwable> exceptionType) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.canThrow(TypeDescription exceptionType) |
|
static <T extends AnnotationSource> ElementMatcher.Junction<T> |
ElementMatchers.declaresAnnotation(ElementMatcher<? super AnnotationDescription> matcher) |
Matches an AnnotationSource to declare any annotation
that matches the given matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.declaresException(Class<? extends Throwable> exceptionType) |
Matches a method that declares the given generic exception type as a (erased) exception type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.declaresException(TypeDescription exceptionType) |
Matches a method that declares the given generic exception type as a (erased) exception type.
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.declaresField(ElementMatcher<? super FieldDescription> matcher) |
Matches a type by a another matcher that is applied on any of its declared fields.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.declaresGenericException(Type exceptionType) |
Matches a method that declares the given generic exception type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.declaresGenericException(TypeDescription.Generic exceptionType) |
Matches a method that declares the given generic exception type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.declaresGenericException(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matcher) |
Matches a method's generic exception types against the provided matcher.
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.declaresMethod(ElementMatcher<? super MethodDescription> matcher) |
Matches a type by a another matcher that is applied on any of its declared methods.
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.definedField(ElementMatcher<? super FieldDescription.InDefinedShape> matcher) |
Matches a field in its defined shape.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.definedMethod(ElementMatcher<? super MethodDescription.InDefinedShape> matcher) |
Matches a method in its defined shape.
|
static <T extends ParameterDescription> ElementMatcher.Junction<T> |
ElementMatchers.definedParameter(ElementMatcher<? super ParameterDescription.InDefinedShape> matcher) |
Matches a parameter in its defined shape.
|
static <T extends TypeDescription.Generic> ElementMatcher.Junction<T> |
ElementMatchers.erasure(Class<?> type) |
Matches a generic type's erasure against the provided type.
|
static <T extends TypeDescription.Generic> ElementMatcher.Junction<T> |
ElementMatchers.erasure(TypeDescription type) |
Matches a generic type's erasure against the provided type.
|
static <T extends TypeDescription.Generic> ElementMatcher.Junction<T> |
ElementMatchers.erasure(ElementMatcher<? super TypeDescription> matcher) |
Converts a matcher for a type description into a matcher for the matched type's erasure.
|
static <T extends Iterable<? extends TypeDescription.Generic>> ElementMatcher.Junction<T> |
ElementMatchers.erasures(Class<?>... type) |
Matches an iteration of generic types' erasures against the provided types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> ElementMatcher.Junction<T> |
ElementMatchers.erasures(Iterable<? extends TypeDescription> types) |
Matches an iteration of generic types' erasures against the provided types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> ElementMatcher.Junction<T> |
ElementMatchers.erasures(TypeDescription... type) |
Matches an iteration of generic types' erasures against the provided types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> ElementMatcher.Junction<T> |
ElementMatchers.erasures(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher) |
Applies the provided matchers to an iteration og generic types' erasures.
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.failSafe(ElementMatcher<? super T> matcher) |
Wraps another matcher to assure that an element is not matched in case that the matching causes an Exception .
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.fieldType(Class<?> fieldType) |
Matches a field's raw type against the provided matcher.
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.fieldType(TypeDescription fieldType) |
Matches a field's raw type against the provided matcher.
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.fieldType(ElementMatcher<? super TypeDescription> matcher) |
Matches a field's raw type against the provided matcher.
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.genericFieldType(Type fieldType) |
Matches a field's generic type against the provided matcher.
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.genericFieldType(TypeDescription.Generic fieldType) |
Matches a field's generic type against the provided matcher.
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.genericFieldType(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches a field's generic type against the provided matcher.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasAnnotation(ElementMatcher<? super AnnotationDescription> matcher) |
Matches a list of annotations by a given matcher on a type that declared these annotations or inherited them
from its super classes.
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.hasChild(ElementMatcher<? super ClassLoader> matcher) |
Matches all class loaders in the hierarchy of the matched class loader against a given matcher.
|
static <T extends NamedElement.WithDescriptor> ElementMatcher.Junction<T> |
ElementMatchers.hasDescriptor(String descriptor) |
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasGenericSuperClass(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches any type description that declares a super class (but not interface) that matches the provided matcher.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasGenericSuperType(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches any type description that declares a super type that matches the provided matcher.
|
static <T extends ParameterDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasGenericType(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches a method parameter by its generic type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasMethodName(String internalName) |
Matches a method against its internal name such that constructors and type initializers are matched appropriately.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasParameters(ElementMatcher<? super Iterable<? extends ParameterDescription>> matcher) |
Matches a MethodDescription by validating that its parameters
fulfill a given constraint.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasSignature(MethodDescription.SignatureToken token) |
Only matches method descriptions that yield the provided signature token.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasSuperClass(ElementMatcher<? super TypeDescription> matcher) |
Matches any type description that declares a super class (but not interface) that matches the provided matcher.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasSuperType(ElementMatcher<? super TypeDescription> matcher) |
Matches any type description that declares a super type that matches the provided matcher.
|
static <T extends ParameterDescription> ElementMatcher.Junction<T> |
ElementMatchers.hasType(ElementMatcher<? super TypeDescription> matcher) |
Matches a parameter's type by the given matcher.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.inheritsAnnotation(Class<?> type) |
Matches any annotations by their type on a type that declared these annotations or inherited them from its
super classes.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.inheritsAnnotation(TypeDescription type) |
Matches any annotations by their type on a type that declared these annotations or inherited them from its
super classes.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.inheritsAnnotation(ElementMatcher<? super TypeDescription> matcher) |
Matches any annotations by a given matcher on a type that declared these annotations or inherited them from its
super classes.
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(Annotation annotation) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.is(Object value) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(Constructor<?> constructor) |
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(Field field) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(Method method) |
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.is(Type type) |
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(FieldDescription.InDefinedShape field) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(MethodDescription.InDefinedShape method) |
Exactly matches a given method or constructor as a MethodDescription in its defined shape.
|
static <T extends ParameterDescription> ElementMatcher.Junction<T> |
ElementMatchers.is(ParameterDescription.InDefinedShape parameter) |
|
static <T extends ModifierReviewable.OfAbstraction> ElementMatcher.Junction<T> |
ElementMatchers.isAbstract() |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isAccessibleTo(Class<?> type) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isAccessibleTo(TypeDescription type) |
|
static <T extends AnnotationSource> ElementMatcher.Junction<T> |
ElementMatchers.isAnnotatedWith(Class<? extends Annotation> type) |
|
static <T extends AnnotationSource> ElementMatcher.Junction<T> |
ElementMatchers.isAnnotatedWith(TypeDescription type) |
|
static <T extends AnnotationSource> ElementMatcher.Junction<T> |
ElementMatchers.isAnnotatedWith(ElementMatcher<? super TypeDescription> matcher) |
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.isAnnotation() |
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.isArray() |
Matches a type if it is an array type.
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.isBootstrapClassLoader() |
|
static <T extends ModifierReviewable.ForMethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isBridge() |
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.isChildOf(ClassLoader classLoader) |
Matches any class loader that is either the given class loader or a child of the given class loader.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isClone() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isConstructor() |
Only matches method descriptions that represent a Constructor .
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isDeclaredBy(Class<?> type) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isDeclaredBy(TypeDescription type) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isDeclaredBy(ElementMatcher<? super TypeDescription> matcher) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isDeclaredByGeneric(Type type) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isDeclaredByGeneric(TypeDescription.Generic type) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isDeclaredByGeneric(ElementMatcher<? super TypeDescription.Generic> matcher) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isDefaultConstructor() |
Matches a default constructor, i.e.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isDefaultFinalizer() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isDefaultMethod() |
Only matches Java 8 default methods.
|
static <T extends ModifierReviewable.OfEnumeration> ElementMatcher.Junction<T> |
ElementMatchers.isEnum() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isEquals() |
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.isExtensionClassLoader() |
|
static <T extends ModifierReviewable> ElementMatcher.Junction<T> |
ElementMatchers.isFinal() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isFinalizer() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGenericGetter(Type type) |
Matches any Java bean getter method which returns the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGenericGetter(TypeDescription.Generic type) |
Matches any Java bean getter method which returns the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGenericGetter(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches any Java bean getter method which returns an value with a type matches the supplied matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGenericSetter(Type type) |
Matches any Java bean setter method which takes an argument the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGenericSetter(TypeDescription.Generic type) |
Matches any Java bean setter method which takes an argument the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGenericSetter(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches any Java bean setter method which takes an argument that matches the supplied matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGetter() |
Matches any Java bean getter method.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGetter(Class<?> type) |
Matches any Java bean getter method which returns the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGetter(String property) |
An element matcher that matches any getter for the given property.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGetter(TypeDescription type) |
Matches any Java bean getter method which returns the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isGetter(ElementMatcher<? super TypeDescription> matcher) |
Matches any Java bean getter method which returns an value with a type matches the supplied matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isHashCode() |
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.isInterface() |
|
static <T extends ParameterDescription> ElementMatcher.Junction<T> |
ElementMatchers.isMandated() |
Matches a parameter description for a mandated parameter.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isMethod() |
Only matches method descriptions that represent a Method .
|
static <T extends NamedElement.WithOptionalName> ElementMatcher.Junction<T> |
ElementMatchers.isNamed() |
|
static <T extends ModifierReviewable.ForMethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isNative() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isOverriddenFrom(Class<?> type) |
Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isOverriddenFrom(TypeDescription type) |
Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isOverriddenFrom(ElementMatcher<? super TypeDescription> matcher) |
Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isOverriddenFromGeneric(Type type) |
Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isOverriddenFromGeneric(TypeDescription.Generic type) |
Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isOverriddenFromGeneric(ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.
|
static <T extends ModifierReviewable.OfByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isPackagePrivate() |
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.isParentOf(ClassLoader classLoader) |
Matches any class loader that is either the given class loader or a parent of the given class loader.
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.isPrimitive() |
Matches a type if it is primitive.
|
static <T extends ModifierReviewable.OfByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isPrivate() |
|
static <T extends ModifierReviewable.OfByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isProtected() |
|
static <T extends ModifierReviewable.OfByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isPublic() |
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.isRecord() |
Matches a type if it is a record type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSetter() |
Matches any Java bean setter method.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSetter(Class<?> type) |
Matches any Java bean setter method which takes an argument the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSetter(String property) |
An element matcher that matches any setter for the given property.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSetter(TypeDescription type) |
Matches any Java bean setter method which takes an argument the given type.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSetter(ElementMatcher<? super TypeDescription> matcher) |
Matches any Java bean setter method which takes an argument that matches the supplied matcher.
|
static <T extends ModifierReviewable.OfByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isStatic() |
|
static <T extends ModifierReviewable.ForMethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isStrict() |
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSubTypeOf(Class<?> type) |
Matches any type description that is a subtype of the given type.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSubTypeOf(TypeDescription type) |
Matches any type description that is a subtype of the given type.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSuperTypeOf(Class<?> type) |
Matches any type description that is a super type of the given type.
|
static <T extends TypeDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSuperTypeOf(TypeDescription type) |
Matches any type description that is a super type of the given type.
|
static <T extends ModifierReviewable.ForMethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isSynchronized() |
|
static <T extends ModifierReviewable> ElementMatcher.Junction<T> |
ElementMatchers.isSynthetic() |
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.isSystemClassLoader() |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isToString() |
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.isTransient() |
Matches a transient field.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isTypeInitializer() |
Only matches method descriptions that represent a Class type initializer.
|
static <T extends ModifierReviewable.ForMethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isVarArgs() |
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.isVariable(String symbol) |
Matches a type variable with the given name.
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.isVariable(ElementMatcher<? super NamedElement> matcher) |
Matches a type variable with the given name.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.isVirtual() |
Matches any method that is virtual, i.e.
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isVisibleTo(Class<?> type) |
|
static <T extends ByteCodeElement> ElementMatcher.Junction<T> |
ElementMatchers.isVisibleTo(TypeDescription type) |
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.isVolatile() |
Matches a volatile field.
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameContains(String infix) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameContainsIgnoreCase(String infix) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.named(String name) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.namedIgnoreCase(String name) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.namedOneOf(String... names) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameEndsWith(String suffix) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameEndsWithIgnoreCase(String suffix) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameMatches(String regex) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameStartsWith(String prefix) |
|
static <T extends NamedElement> ElementMatcher.Junction<T> |
ElementMatchers.nameStartsWithIgnoreCase(String prefix) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.none() |
Creates a matcher that always returns false .
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Annotation... value) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Iterable<?> values) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Object... value) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Constructor<?>... value) |
|
static <T extends FieldDescription> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Field... value) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Method... value) |
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.noneOf(Type... value) |
|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.not(ElementMatcher<? super T> matcher) |
Inverts another matcher.
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.ofSort(TypeDefinition.Sort sort) |
Matches generic type descriptions of the given sort.
|
static <T extends TypeDefinition> ElementMatcher.Junction<T> |
ElementMatchers.ofSort(ElementMatcher<? super TypeDefinition.Sort> matcher) |
Matches generic type descriptions of the given sort.
|
static <T extends ClassLoader> ElementMatcher.Junction<T> |
ElementMatchers.ofType(ElementMatcher<? super TypeDescription> matcher) |
Matches a class loader's type unless it is the bootstrap class loader which is never matched.
|
<U extends V> ElementMatcher.Junction<U> |
ElementMatcher.Junction.AbstractBase.or(ElementMatcher<? super U> other) |
Creates a disjunction where either this matcher or the other matcher must be matched in order
to constitute a successful match.
|
<U extends S> ElementMatcher.Junction<U> |
ElementMatcher.Junction.or(ElementMatcher<? super U> other) |
Creates a disjunction where either this matcher or the other matcher must be matched in order
to constitute a successful match.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.returns(Class<?> type) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.returns(TypeDescription type) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.returns(ElementMatcher<? super TypeDescription> matcher) |
Matches a method's return type's erasure by the given matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.returnsGeneric(Type type) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.returnsGeneric(TypeDescription.Generic type) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.returnsGeneric(ElementMatcher<? super TypeDescription.Generic> matcher) |
|
static <T extends JavaModule> ElementMatcher.Junction<T> |
ElementMatchers.supportsModules() |
Matches a module if it exists, i.e.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArgument(int index,
Class<?> type) |
Matches MethodDescription s that define a given generic type as a parameter at the given index.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArgument(int index,
TypeDescription type) |
Matches MethodDescription s that define a given type erasure as a parameter at the given index.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArgument(int index,
ElementMatcher<? super TypeDescription> matcher) |
Matches MethodDescription s that define a type erasure as a parameter at the given index that matches the supplied matcher.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArguments(int length) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArguments(Class<?>... type) |
Matches a method description that takes the provided raw arguments.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArguments(Iterable<? extends TypeDescription> types) |
Matches a method description that takes the provided raw arguments.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArguments(TypeDescription... type) |
Matches a method description that takes the provided raw arguments.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesArguments(ElementMatcher<? super Iterable<? extends TypeDescription>> matchers) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArgument(int index,
Type type) |
Matches MethodDescription s that define a given generic type as a parameter at the given index.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArgument(int index,
TypeDescription.Generic type) |
Matches MethodDescription s that define a given generic type as a parameter at the given index.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArgument(int index,
ElementMatcher<? super TypeDescription.Generic> matcher) |
Matches MethodDescription s that define a given generic type as a parameter at the given index.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArguments(Type... type) |
Matches a method description that takes the provided generic arguments.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArguments(List<? extends TypeDefinition> types) |
Matches a method description that takes the provided generic arguments.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArguments(TypeDefinition... type) |
Matches a method description that takes the provided generic arguments.
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesGenericArguments(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matchers) |
|
static <T extends MethodDescription> ElementMatcher.Junction<T> |
ElementMatchers.takesNoArguments() |
|
static <T extends AnnotationDescription> ElementMatcher.Junction<T> |
ElementMatchers.targetsElement(ElementType elementType) |
Matches if an annotation can target a given element type.
|
static <T> ElementMatcher.Junction<Iterable<? extends T>> |
ElementMatchers.whereAny(ElementMatcher<? super T> matcher) |
Matches an iterable by assuring that at least one element of the iterable collection matches the
provided matcher.
|
static <T> ElementMatcher.Junction<Iterable<? extends T>> |
ElementMatchers.whereNone(ElementMatcher<? super T> matcher) |
Matches an iterable by assuring that no element of the iterable collection matches the provided matcher.
|