public class ConstructorOrMethod
extends java.lang.Object
Constructor and Description |
---|
ConstructorOrMethod(java.lang.reflect.Constructor c) |
ConstructorOrMethod(java.lang.reflect.Method m) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.reflect.Constructor |
getConstructor() |
java.lang.Class<?> |
getDeclaringClass() |
boolean |
getEnabled() |
java.lang.reflect.Method |
getMethod() |
java.lang.String |
getName() |
java.lang.Class[] |
getParameterTypes() |
int |
hashCode() |
void |
setEnabled(boolean enabled) |
java.lang.String |
toString() |
public ConstructorOrMethod(java.lang.reflect.Method m)
public ConstructorOrMethod(java.lang.reflect.Constructor c)
public java.lang.Class<?> getDeclaringClass()
public java.lang.String getName()
public java.lang.Class[] getParameterTypes()
public java.lang.reflect.Method getMethod()
public java.lang.reflect.Constructor getConstructor()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setEnabled(boolean enabled)
public boolean getEnabled()
public java.lang.String toString()
toString
in class java.lang.Object