edu.mit.ai.psg.jeva
Interface IMethod

All Known Implementing Classes:
WrappedMethod, InterpretedMethod

public interface IMethod
extends IMember, IAccessibleObject

IMethod mirrors java.lang.reflect.Method, enabling us to treat compiled methods and interpreted methods interchangeably.

See Also:
Method

Method Summary
 IClass[] getExceptionTypes()
           
 IClass[] getParameterTypes()
           
 IClass getReturnType()
           
 Object invoke(Object obj, Object[] args)
           
 
Methods inherited from interface edu.mit.ai.psg.jeva.IMember
getDeclaringClass, getModifiers, getName
 
Methods inherited from interface edu.mit.ai.psg.jeva.IAccessibleObject
isAccessible, setAccessible
 

Method Detail

getReturnType

public IClass getReturnType()

getParameterTypes

public IClass[] getParameterTypes()

getExceptionTypes

public IClass[] getExceptionTypes()

invoke

public Object invoke(Object obj,
                     Object[] args)
              throws IllegalAccessException,
                     IllegalArgumentException,
                     InvocationTargetException

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu