T
- type descriptionpublic class AnyTypeInHierarchyMatcher<T extends net.bytebuddy.description.type.TypeDescription>
extends net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<T>
Constructor and Description |
---|
AnyTypeInHierarchyMatcher(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> matcher) |
Modifier and Type | Method and Description |
---|---|
static <C extends net.bytebuddy.description.type.TypeDescription> |
annotationIsPresentInTypeHierarchy(Class<? extends Annotation> annotationType)
Convenience API that constructs a matcher which searches for a specific annotation declared on a type or any of its super-types/interfaces.
|
boolean |
matches(T target) |
public AnyTypeInHierarchyMatcher(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> matcher)
public static <C extends net.bytebuddy.description.type.TypeDescription> AnyTypeInHierarchyMatcher<C> annotationIsPresentInTypeHierarchy(Class<? extends Annotation> annotationType)
public boolean matches(T target)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.