edu.mit.ai.psg.jeva
Interface IMethod
- All Known Implementing Classes:
- WrappedMethod, InterpretedMethod
- public abstract interface IMethod
- extends IMember, IAccessibleObject
IMethod mirrors java.lang.reflect.Method, enabling us to treat
compiled methods and interpreted methods interchangeably.
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology
- See Also:
Method
getReturnType
public IClass getReturnType()
getParameterTypes
public IClass[] getParameterTypes()
getExceptionTypes
public IClass[] getExceptionTypes()
invoke
public Object invoke(Object obj,
Object[] args)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException