public class AnnotationMethodMatcher extends java.lang.Object implements MethodMatcher
OptimizedClassMatcher.
This matcher does not cooperate with matchers like the NotMethodMatcher, OrMethodMatcher, etc. It
should really only be used by the custom xml stuff.UNSPECIFIED_ACCESS, UNSPECIFIED_ANNOTATIONS| Constructor and Description |
|---|
AnnotationMethodMatcher(org.objectweb.asm.Type annotationType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.objectweb.asm.Type |
getAnnotationType() |
org.objectweb.asm.commons.Method[] |
getExactMethods() |
int |
hashCode() |
boolean |
matches(int access,
java.lang.String name,
java.lang.String desc,
java.util.Set<java.lang.String> annotations)
Returns true if this matcher matches the given method.
|
public AnnotationMethodMatcher(org.objectweb.asm.Type annotationType)
public boolean matches(int access,
java.lang.String name,
java.lang.String desc,
java.util.Set<java.lang.String> annotations)
MethodMatchermatches in interface MethodMatcheraccess - The method access flags.public org.objectweb.asm.commons.Method[] getExactMethods()
getExactMethods in interface MethodMatcherpublic org.objectweb.asm.Type getAnnotationType()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface MethodMatcherequals in class java.lang.Object