edu.mit.ai.psg.jeva
Class InterpretedConstructor
java.lang.Object
|
+--edu.mit.ai.psg.jeva.InterpretedMember
|
+--edu.mit.ai.psg.jeva.InterpretedConstructor
- public class InterpretedConstructor
- extends InterpretedMember
- implements IConstructor
InterpretedConstructor implements IConstructor
methods for interpreted constructors,
e.g., to invoke constructor through the newInstance method.
- See Also:
Constructor
| Methods inherited from class edu.mit.ai.psg.jeva.InterpretedMember |
getDeclaringClass,
getModifiers,
getName,
initializeDeclaringClass,
isAccessible,
modifiersString,
setAccessible,
shouldNotHappen,
shouldNotHappen,
shouldNotHappen,
typeListString |
InterpretedConstructor
public InterpretedConstructor(int modifiers,
String className,
IClass[] parameterTypes,
IClass[] exceptionTypes,
JNDConstructorDeclaration constructorNode)
getDeclarationNode
public JNDConstructorDeclaration getDeclarationNode()
verifyTypes
public IEnv verifyTypes(IEnv staticEnv,
IEnv objectEnv)
throws VerifyingException
getProxyConstructor
public Constructor getProxyConstructor()
getParameterTypes
public IClass[] getParameterTypes()
- Specified by:
- getParameterTypes in interface IConstructor
getExceptionTypes
public IClass[] getExceptionTypes()
- Specified by:
- getExceptionTypes in interface IConstructor
newInstance
public Object newInstance(Object[] initArgs)
throws InstantiationException,
IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
- Specified by:
- newInstance in interface IConstructor
toString
public String toString()
- Overrides:
- toString in class Object