Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
org.codehaus.janino.util |
Application-independent helper classes.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Java.ConstructorDeclarator> |
Java.ClassDeclaration.constructors
List of
Java.ConstructorDeclarator s of this class. |
Modifier and Type | Method and Description |
---|---|
(package private) Java.ConstructorDeclarator[] |
Java.ClassDeclaration.getConstructors() |
Java.ConstructorDeclarator |
Parser.parseConstructorDeclarator(java.lang.String optionalDocComment,
Java.Modifiers modifiers)
ConstructorDeclarator :=
Identifier
FormalParameters
[ 'throws' ReferenceTypeList ]
'{'
[ 'this' Arguments ';' | 'super' Arguments ';' | Primary '.' 'super' Arguments ';' ]
BlockStatements
'}'
|
Modifier and Type | Method and Description |
---|---|
void |
Java.ClassDeclaration.addConstructor(Java.ConstructorDeclarator cd)
Adds one
Java.ConstructorDeclarator to this class. |
(package private) void |
UnitCompiler.assignSyntheticParametersToSyntheticFields(Java.ConstructorDeclarator cd)
Copies the values of the synthetic parameters of this constructor ("this$..." and "val$...") to the synthetic
fields of the object ("this$..." and "val$...").
|
(package private) void |
UnitCompiler.initializeInstanceVariablesAndInvokeInstanceInitializers(Java.ConstructorDeclarator cd)
Compiles the instance variable initializers and the instance initializers in their lexical order.
|
(package private) IClass.IConstructor |
UnitCompiler.toIConstructor(Java.ConstructorDeclarator constructorDeclarator) |
void |
Visitor.FunctionDeclaratorVisitor.visitConstructorDeclarator(Java.ConstructorDeclarator cd)
Invoked by
accept(Visitor.TypeBodyDeclarationVisitor) |
void |
UnparseVisitor.visitConstructorDeclarator(Java.ConstructorDeclarator cd) |
Modifier and Type | Method and Description |
---|---|
void |
Traverser.traverseConstructorDeclarator(Java.ConstructorDeclarator cd) |