| Constructor and Description |
|---|
MethodDescription(String className,
String methodName,
String methodDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Method method)
defines matching with runtime (reflection) methods.
|
boolean |
matches(String className,
String methodName,
String methodDescriptor)
defines matching with compile time method specifications.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbyDescription, byDescription, byNamepublic boolean matches(Method method)
Methodspublic boolean matches(String className, String methodName, String methodDescriptor)
Methodsmatches in interface MethodsclassName - the internal name of the class (e.g. java/lang/String for java.lang.String)methodName - the name of the method (e.g getBytes)methodDescriptor - the method descriptor of the method (e.g. (Ljava/nio/Charset;)[B; for byte[] getBytes(Charset charset))Copyright © 2020. All rights reserved.