mandala.util
Interface MethodOp
- All Superinterfaces:
- AccessibleObjectOp, Member
- All Known Implementing Classes:
- SerializableMethod
- public interface MethodOp
- extends AccessibleObjectOp, Member
Interface for the Method class.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- eipi
- See Also:
Method
getDeclaringClass
public Class getDeclaringClass()
- Specified by:
getDeclaringClass
in interface Member
getName
public String getName()
- Specified by:
getName
in interface Member
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interface Member
getReturnType
public Class getReturnType()
getParameterTypes
public Class[] getParameterTypes()
getExceptionTypes
public Class[] getExceptionTypes()
invoke
public Object invoke(Object object,
Object[] args)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
Equivalent of Method.invoke(Object,
Object[])
.
- Parameters:
object
- an Object
valueargs
- an Object[]
value
- Returns:
- an
Object
value
- Throws:
IllegalAccessException
- if an error occurs
InvocationTargetException
- if an error occurs
IllegalArgumentException
- if an error occurs- See Also:
Method.invoke(Object, Object[]).
Mandala help mailing list