|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.codehaus.janino.Java.AbstractTypeDeclaration
org.codehaus.janino.Java.ClassDeclaration
public abstract static class Java.ClassDeclaration
Base for the various class declaration kinds.
| Field Summary | |
|---|---|
<Java.ConstructorDeclarator> |
constructors
List of Java.ConstructorDeclarators of this class. |
<Java.BlockStatement> |
variableDeclaratorsAndInitializers
List of Java.TypeBodyDeclarations of this class: Field declarations (both static and non-static),
(static and non-static) initializers (a.k.a. |
| Fields inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration |
|---|
anonymousClassCount, localClassCount |
| Constructor Summary | |
|---|---|
Java.ClassDeclaration(Location location,
Java.Modifiers modifiers)
|
|
| Method Summary | |
|---|---|
void |
addConstructor(Java.ConstructorDeclarator cd)
Adds one Java.ConstructorDeclarator to this class. |
void |
addFieldDeclaration(Java.FieldDeclaration fd)
Adds one field declaration to this class. |
void |
addInitializer(Java.Initializer i)
Adds one initializer to this class. |
void |
defineSyntheticField(IClass.IField iField)
|
| Methods inherited from class java.lang. |
|---|
, , , , , , , , , |
| Methods inherited from interface org.codehaus.janino.Java.TypeDeclaration |
|---|
accept, getClassName |
| Field Detail |
|---|
public final <Java.ConstructorDeclarator> constructors
Java.ConstructorDeclarators of this class.
public final <Java.BlockStatement> variableDeclaratorsAndInitializers
Java.TypeBodyDeclarations of this class: Field declarations (both static and non-static),
(static and non-static) initializers (a.k.a. "class initializers" and "instance initializers").
| Constructor Detail |
|---|
public Java.ClassDeclaration(Location location,
Java.Modifiers modifiers)
| Method Detail |
|---|
public void addConstructor(Java.ConstructorDeclarator cd)
Java.ConstructorDeclarator to this class.
public void addFieldDeclaration(Java.FieldDeclaration fd)
public void addInitializer(Java.Initializer i)
public void defineSyntheticField(IClass.IField iField)
throws CompileException
CompileExceptionJava.InnerClassDeclaration.defineSyntheticField(IClass.IField)
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||