T
- method descriptionpublic class MethodOrSuperMethodMatcher<T extends net.bytebuddy.description.method.MethodDescription>
extends net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<T>
Constructor and Description |
---|
MethodOrSuperMethodMatcher(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> matcher) |
Modifier and Type | Method and Description |
---|---|
static MethodOrSuperMethodMatcher<net.bytebuddy.description.method.MethodDescription> |
annotationIsPresentInHierarchy(Class<? extends Annotation> annotationType)
Convenience API which looks for method annotations in type hierarchy.
|
boolean |
doMatch(T target,
net.bytebuddy.description.type.TypeDescription.Generic declaringType) |
boolean |
matches(T target) |
public MethodOrSuperMethodMatcher(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription> matcher)
public static MethodOrSuperMethodMatcher<net.bytebuddy.description.method.MethodDescription> annotationIsPresentInHierarchy(Class<? extends Annotation> annotationType)
public boolean matches(T target)
public boolean doMatch(T target, net.bytebuddy.description.type.TypeDescription.Generic declaringType)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.