public class MethodDescriptor extends Object implements Comparable<MethodDescriptor>
Constructor and Description |
---|
MethodDescriptor(String methodName) |
MethodDescriptor(String methodName,
Class<?>[] paramTypes) |
MethodDescriptor(String methodName,
Class<?>[] paramTypes,
int modifiers) |
MethodDescriptor(String methodName,
int modifiers) |
MethodDescriptor(String methodName,
String[] paramTypes) |
MethodDescriptor(String methodName,
String[] paramTypes,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MethodDescriptor md) |
boolean |
equals(Object obj) |
static MethodDescriptor |
forMethod(Method method) |
static MethodDescriptor |
forMethod(Method method,
boolean removeAbstractModifier) |
int |
getModifiers() |
String |
getName() |
String[] |
getParameterTypes() |
int |
hashCode() |
boolean |
matches(MethodDescriptor md) |
String |
toString() |
public MethodDescriptor(@Nonnull String methodName, @Nonnull Class<?>[] paramTypes)
public MethodDescriptor(@Nonnull String methodName, @Nonnull Class<?>[] paramTypes, int modifiers)
@Nonnull public static MethodDescriptor forMethod(@Nonnull Method method)
@Nonnull public static MethodDescriptor forMethod(@Nonnull Method method, boolean removeAbstractModifier)
public int getModifiers()
public int compareTo(MethodDescriptor md)
compareTo
in interface Comparable<MethodDescriptor>
public boolean matches(@Nonnull MethodDescriptor md)