net.janino
Class Java.ConstructorDeclarator

java.lang.Object
  |
  +--net.janino.Java.Located
        |
        +--net.janino.Java.FunctionDeclarator
              |
              +--net.janino.Java.ConstructorDeclarator
All Implemented Interfaces:
Java.Locatable, Java.Scope
Enclosing class:
Java

public static class Java.ConstructorDeclarator
extends Java.FunctionDeclarator


Fields inherited from class net.janino.Java.FunctionDeclarator
declaringClassOrInterface, modifiers, thrownExceptions
 
Constructor Summary
Java.ConstructorDeclarator(Scanner.Location location, Java.ClassDeclaration declaringClass, short modifiers, Java.FormalParameter[] formalParameters, Java.Type[] thrownExceptions)
           
 
Method Summary
protected  java.util.List getBlockStatementsToCompile()
           
 void setAlternateConstructorInvocation(Java.ConstructorInvocation alternateConstructorInvocation)
           
 void setBody(Java.Block body)
           
 void setSuperclassConstructorInvocation(Java.ConstructorInvocation superclassConstructorInvocation)
           
 IClass.IConstructor toIConstructor()
           
 java.lang.String toString()
           
 
Methods inherited from class net.janino.Java.FunctionDeclarator
addConstantFloatInfo, addConstantIntegerInfo, addConstantStringInfo, allocateLocalVariable, compile, compileError, createDummyCodeAttribute, getEnclosingScope, getFormalParameters, getLocation, getModifiers, getName, getReturnType, newInserter, newOffset, newUnsetOffset, popInserter, pushInserter, restoreLocalVariables, saveLocalVariables, throwParseException, write, writeBranch, writeByte, writeConstantClassInfo, writeConstantDoubleInfo, writeConstantFieldrefInfo, writeConstantFloatInfo, writeConstantIntegerInfo, writeConstantInterfaceMethodrefInfo, writeConstantLongInfo, writeConstantMethodrefInfo, writeConstantStringInfo, writeInt, writeOffset, writeOpcode, writeShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Java.ConstructorDeclarator

public Java.ConstructorDeclarator(Scanner.Location location,
                                  Java.ClassDeclaration declaringClass,
                                  short modifiers,
                                  Java.FormalParameter[] formalParameters,
                                  Java.Type[] thrownExceptions)
Method Detail

setAlternateConstructorInvocation

public void setAlternateConstructorInvocation(Java.ConstructorInvocation alternateConstructorInvocation)

setSuperclassConstructorInvocation

public void setSuperclassConstructorInvocation(Java.ConstructorInvocation superclassConstructorInvocation)

setBody

public void setBody(Java.Block body)

getBlockStatementsToCompile

protected java.util.List getBlockStatementsToCompile()
Overrides:
getBlockStatementsToCompile in class Java.FunctionDeclarator

toIConstructor

public IClass.IConstructor toIConstructor()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object