openjava.mop
Class OJConstructorByteCode

java.lang.Object
  |
  +--openjava.mop.OJConstructorImp
        |
        +--openjava.mop.OJConstructorByteCode

class OJConstructorByteCode
extends OJConstructorImp


Field Summary
private  Constructor javaConstructor
           
 
Constructor Summary
(package private) OJConstructorByteCode(Constructor java_constr)
           
 
Method Summary
(package private)  StatementList getBody()
           
(package private)  Constructor getByteCode()
           
(package private)  OJClass getDeclaringClass()
           
(package private)  Environment getEnvironment()
           
(package private)  OJClass[] getExceptionTypes()
           
(package private)  String getIdentifiableName()
           
(package private)  OJModifier getModifiers()
           
(package private)  String getName()
           
(package private)  OJClass[] getParameterTypes()
           
(package private)  ConstructorDeclaration getSourceCode()
           
(package private)  ParseTree getSuffix(String keyword)
           
(package private)  ConstructorInvocation getTransference()
           
(package private)  boolean isAlterable()
           
(package private)  boolean isExecutable()
           
(package private)  Object newInstance(Object[] initargs)
           
(package private)  StatementList setBody(StatementList stmts)
           
(package private)  void setDeclaringClass(OJClass parent)
           
(package private)  void setExceptionTypes(OJClass[] types)
           
(package private)  void setModifiers(int mods)
           
(package private)  void setName(String name)
           
(package private)  ConstructorInvocation setTransference(ConstructorInvocation invocation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

javaConstructor

private Constructor javaConstructor
Constructor Detail

OJConstructorByteCode

OJConstructorByteCode(Constructor java_constr)
Method Detail

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

SourceForge.net_Logo