public class ExactParamsMethodMatcher extends java.lang.Object implements MethodMatcher
UNSPECIFIED_ACCESS, UNSPECIFIED_ANNOTATIONS| Modifier and Type | Method and Description |
|---|---|
static ExactParamsMethodMatcher |
createExactParamsMethodMatcher(java.lang.String methodName,
java.lang.String inputDescriptor)
Using a factory method to create this ExactParamsMethodMatcher so that the conversion and verification can be
completed.
|
boolean |
equals(java.lang.Object obj)
Returns true if the input object equals this object.
|
org.objectweb.asm.commons.Method[] |
getExactMethods() |
int |
hashCode()
Returns the hash code for this object.
|
boolean |
matches(int access,
java.lang.String pName,
java.lang.String pDesc,
java.util.Set<java.lang.String> annotations)
Returns true is this matcher matches in the input parameters.
|
java.lang.String |
toString()
Returns the string representation of this class.
|
public static ExactParamsMethodMatcher createExactParamsMethodMatcher(java.lang.String methodName, java.lang.String inputDescriptor) throws java.lang.RuntimeException
methodName - The name of the method.inputDescriptor - The method descriptor minus the return type.java.lang.RuntimeException - Thrown if the input name or parameters are invalid.public boolean matches(int access,
java.lang.String pName,
java.lang.String pDesc,
java.util.Set<java.lang.String> annotations)
matches in interface MethodMatcherpName - The name of the method.pDesc - The descriptor of the method.access - The method access flags.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface MethodMatcherequals in class java.lang.Objectobj - The input object to compare.public java.lang.String toString()
toString in class java.lang.Objectpublic org.objectweb.asm.commons.Method[] getExactMethods()
getExactMethods in interface MethodMatcher