openjava.mop
Class OJConstructorImp
java.lang.Object
|
+--openjava.mop.OJConstructorImp
- Direct Known Subclasses:
- OJConstructorByteCode, OJConstructorSourceCode
- abstract class OJConstructorImp
- extends Object
The abstract class OJConstructorImp
provides an interface to
an implementation of OJConstructor.
OJConstructorImp
OJConstructorImp()
toString
public abstract String toString()
- Overrides:
toString
in class Object
getEnvironment
abstract Environment getEnvironment()
getDeclaringClass
abstract OJClass getDeclaringClass()
getName
abstract String getName()
getIdentifiableName
abstract String getIdentifiableName()
getModifiers
abstract OJModifier getModifiers()
getParameterTypes
abstract OJClass[] getParameterTypes()
getExceptionTypes
abstract OJClass[] getExceptionTypes()
getSuffix
abstract ParseTree getSuffix(String keyword)
newInstance
abstract Object newInstance(Object[] initargs)
throws InstantiationException,
IllegalAccessException,
IllegalArgumentException,
InvocationTargetException,
InstantiationException,
CannotExecuteException
InstantiationException
IllegalAccessException
IllegalArgumentException
InvocationTargetException
CannotExecuteException
isExecutable
abstract boolean isExecutable()
isAlterable
abstract boolean isAlterable()
getByteCode
abstract Constructor getByteCode()
throws CannotExecuteException
CannotExecuteException
getSourceCode
abstract ConstructorDeclaration getSourceCode()
throws CannotAlterException
CannotAlterException
getBody
abstract StatementList getBody()
throws CannotAlterException
CannotAlterException
getTransference
abstract ConstructorInvocation getTransference()
throws CannotAlterException
CannotAlterException
setDeclaringClass
abstract void setDeclaringClass(OJClass parent)
throws CannotAlterException
CannotAlterException
setModifiers
abstract void setModifiers(int mods)
throws CannotAlterException
CannotAlterException
setBody
abstract StatementList setBody(StatementList stmts)
throws CannotAlterException
CannotAlterException
setExceptionTypes
abstract void setExceptionTypes(OJClass[] types)
throws CannotAlterException
CannotAlterException
setTransference
abstract ConstructorInvocation setTransference(ConstructorInvocation invocation)
throws CannotAlterException
CannotAlterException