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
securityCheckTargetClassCache
private volatile Class securityCheckTargetClassCache
name
private String name
clazz
private Class clazz
returnType
private Class returnType
exceptionTypes
private Class[] exceptionTypes
root
private Method root
methodAccessor
private volatile sun.reflect.MethodAccessor methodAccessor
slot
private int slot
modifiers
private int modifiers
parameterTypes
private Class[] parameterTypes
Method
Method(Class,
String,
Class[],
Class,
Class[],
int,
int)
getModifiers
public int getModifiers()
- Specified by:
getModifiers in interface Member
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
acquireMethodAccessor
private void acquireMethodAccessor()
getDeclaringClass
public Class getDeclaringClass()
- Specified by:
getDeclaringClass in interface Member
getReturnType
public Class getReturnType()
getExceptionTypes
public Class[] getExceptionTypes()
getParameterTypes
public Class[] getParameterTypes()
equals
public boolean equals(Object)
- Overrides:
equals in class Object
getName
public String getName()
- Specified by:
getName in interface Member
toString
public String toString()
- Overrides:
toString in class Object
copy
Method copy()
getMethodAccessor
sun.reflect.MethodAccessor getMethodAccessor()
setMethodAccessor
void setMethodAccessor(sun.reflect.MethodAccessor)
copy
static Class[] copy(Class[])
invoke
public Object invoke(Object,
Object[])
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
- Throws:
IllegalAccessException
IllegalArgumentException
InvocationTargetException
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.