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.


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

Constructor Detail

OJConstructorImp

OJConstructorImp()
Method Detail

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

SourceForge.net_Logo