java.lang.reflect
Class Method
java.lang.Object
java.lang.reflect.AccessibleObject
java.lang.reflect.Method
- All Implemented Interfaces:
- Member
public final class Method
- extends AccessibleObject
- implements Member
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDeclaringClass
public Class getDeclaringClass()
- Specified by:
getDeclaringClass
in interface Member
getExceptionTypes
public Class[] getExceptionTypes()
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interface Member
getName
public String getName()
- Specified by:
getName
in interface Member
getParameterTypes
public Class[] getParameterTypes()
getReturnType
public Class getReturnType()
invoke
public Object invoke(Object var0,
Object[] var1)
throws IllegalAccessException,
InvocationTargetException
- Throws:
IllegalAccessException
InvocationTargetException