openjava.mop
Class OJConstructorByteCode
java.lang.Object
|
+--openjava.mop.OJConstructorImp
|
+--openjava.mop.OJConstructorByteCode
- class OJConstructorByteCode
- extends OJConstructorImp
javaConstructor
private Constructor javaConstructor
OJConstructorByteCode
OJConstructorByteCode(Constructor java_constr)
toString
public String toString()
- Specified by:
toString
in class OJConstructorImp
getEnvironment
Environment getEnvironment()
- Specified by:
getEnvironment
in class OJConstructorImp
getDeclaringClass
OJClass getDeclaringClass()
- Specified by:
getDeclaringClass
in class OJConstructorImp
getName
String getName()
- Specified by:
getName
in class OJConstructorImp
getIdentifiableName
String getIdentifiableName()
- Specified by:
getIdentifiableName
in class OJConstructorImp
getModifiers
OJModifier getModifiers()
- Specified by:
getModifiers
in class OJConstructorImp
getParameterTypes
OJClass[] getParameterTypes()
- Specified by:
getParameterTypes
in class OJConstructorImp
getExceptionTypes
OJClass[] getExceptionTypes()
- Specified by:
getExceptionTypes
in class OJConstructorImp
getSuffix
ParseTree getSuffix(String keyword)
- Specified by:
getSuffix
in class OJConstructorImp
newInstance
Object newInstance(Object[] initargs)
throws InstantiationException,
IllegalAccessException,
IllegalArgumentException,
InvocationTargetException,
InstantiationException
- Specified by:
newInstance
in class OJConstructorImp
InstantiationException
IllegalAccessException
IllegalArgumentException
InvocationTargetException
isExecutable
boolean isExecutable()
- Specified by:
isExecutable
in class OJConstructorImp
isAlterable
boolean isAlterable()
- Specified by:
isAlterable
in class OJConstructorImp
getByteCode
Constructor getByteCode()
throws CannotExecuteException
- Specified by:
getByteCode
in class OJConstructorImp
CannotExecuteException
getSourceCode
ConstructorDeclaration getSourceCode()
throws CannotAlterException
- Specified by:
getSourceCode
in class OJConstructorImp
CannotAlterException
getBody
StatementList getBody()
throws CannotAlterException
- Specified by:
getBody
in class OJConstructorImp
CannotAlterException
getTransference
ConstructorInvocation getTransference()
throws CannotAlterException
- Specified by:
getTransference
in class OJConstructorImp
CannotAlterException
setDeclaringClass
void setDeclaringClass(OJClass parent)
throws CannotAlterException
- Specified by:
setDeclaringClass
in class OJConstructorImp
CannotAlterException
setName
final void setName(String name)
throws CannotAlterException
CannotAlterException
setModifiers
final void setModifiers(int mods)
throws CannotAlterException
- Specified by:
setModifiers
in class OJConstructorImp
CannotAlterException
setExceptionTypes
final void setExceptionTypes(OJClass[] types)
throws CannotAlterException
- Specified by:
setExceptionTypes
in class OJConstructorImp
CannotAlterException
setBody
StatementList setBody(StatementList stmts)
throws CannotAlterException
- Specified by:
setBody
in class OJConstructorImp
CannotAlterException
setTransference
ConstructorInvocation setTransference(ConstructorInvocation invocation)
throws CannotAlterException
- Specified by:
setTransference
in class OJConstructorImp
CannotAlterException