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