Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Returns if this object is considered equal to the other object.
|
Class |
getDeclaringClass()
Gets the class that declared this member.
|
Class[] |
getExceptionTypes() |
int |
getModifiers()
Gets the modifiers this member uses.
|
String |
getName()
Gets the simple name of this member.
|
Class[] |
getParameterTypes() |
Class |
getReturnType()
Return the type of the Method as a Class object.
|
int |
hashCode()
Returns a hashCode for the object.
|
Object |
invoke(Object target,
Object[] args) |
String |
toString()
Return a String representation of this object.
|
public Class[] getParameterTypes()
public Class getReturnType()
public String getName()
Member
public int getModifiers()
Member
Modifier
class to interpret the values.getModifiers
in interface Member
Modifier
public Class getDeclaringClass()
Member
getDeclaringClass
in interface Member
public int hashCode()
Object
public Class[] getExceptionTypes()
public String toString()
Object
public boolean equals(Object other)
Object
public Object invoke(Object target, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException