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

Field Summary
 
Fields inherited from interface java.lang.reflect.Member
DECLARED, PUBLIC
 
Method Summary
 Class getDeclaringClass()
           
 Class[] getExceptionTypes()
           
 int getModifiers()
           
 String getName()
           
 Class[] getParameterTypes()
           
 Class getReturnType()
           
 Object invoke(Object object, Object[] args)
          Equivalent of Method.invoke(Object, Object[]).
 
Methods inherited from interface mandala.util.AccessibleObjectOp
isAccessible, setAccessible
 

Method Detail

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 value
args - 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