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.
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology
- See Also:
Method
getDeclarationNode
public JNDMethodDeclaration getDeclarationNode()
verifyTypes
public IEnv verifyTypes(IEnv env)
throws VerifyingException
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