edu.mit.ai.psg.jeva
Class InterpretedMethod
java.lang.Object
|
+--edu.mit.ai.psg.jeva.InterpretedMember
|
+--edu.mit.ai.psg.jeva.InterpretedMethod
- public class InterpretedMethod
- extends InterpretedMember
- implements IMethod
InterpretedMethod implements IMethod for interpreted methods,
e.g., to invoke method through the invoke method.
- See Also:
Method
| Methods inherited from class edu.mit.ai.psg.jeva.InterpretedMember |
getDeclaringClass,
getModifiers,
getName,
initializeDeclaringClass,
isAccessible,
modifiersString,
setAccessible,
shouldNotHappen,
shouldNotHappen,
shouldNotHappen,
typeListString |
getDeclarationNode
public JNDMethodDeclaration getDeclarationNode()
verifyTypes
public IEnv verifyTypes(IEnv env)
throws VerifyingException
getProxyMethod
public Method getProxyMethod()
getReturnType
public IClass getReturnType()
- Specified by:
- getReturnType in interface IMethod
getParameterTypes
public IClass[] getParameterTypes()
- Specified by:
- getParameterTypes in interface IMethod
getExceptionTypes
public IClass[] getExceptionTypes()
- Specified by:
- getExceptionTypes in interface IMethod
invoke
public Object invoke(Object obj,
Object[] args)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException,
NullPointerException
- Specified by:
- invoke in interface IMethod
toString
public String toString()
- Overrides:
- toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
- equals in class Object