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, wait
byDescription, byDescription, byName
public boolean matches(Method method)
Methods
public boolean matches(String className, String methodName, String methodDescriptor)
Methods
matches
in interface Methods
className
- 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.