Web Site

org.codehaus.janino
Class Java.ClassDeclaration

java.lang.Object
  extended byorg.codehaus.janino.Java.AbstractTypeDeclaration
      extended byorg.codehaus.janino.Java.ClassDeclaration
All Implemented Interfaces:
Java.Locatable, Java.Scope, Java.TypeDeclaration
Direct Known Subclasses:
Java.AnonymousClassDeclaration, Java.NamedClassDeclaration
Enclosing class:
Java

public abstract static class Java.ClassDeclaration
extends Java.AbstractTypeDeclaration


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
anonymousClassCount, enclosingScope, localClassCount, modifiers
 
Constructor Summary
Java.ClassDeclaration(Location location, Java.Scope enclosingScope, short modifiers)
           
 
Method Summary
 void addConstructor(Java.ConstructorDeclarator cd)
           
 void addVariableDeclaratorOrInitializer(Java.TypeBodyDeclaration tbd)
           
 void defineSyntheticField(IClass.IField iField)
           
 
Methods inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, throwParseException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.Java.TypeDeclaration
getClassName, visit
 

Constructor Detail

Java.ClassDeclaration

public Java.ClassDeclaration(Location location,
                             Java.Scope enclosingScope,
                             short modifiers)
Method Detail

addConstructor

public void addConstructor(Java.ConstructorDeclarator cd)

addVariableDeclaratorOrInitializer

public void addVariableDeclaratorOrInitializer(Java.TypeBodyDeclaration tbd)

defineSyntheticField

public void defineSyntheticField(IClass.IField iField)
                          throws CompileException
Throws:
CompileException

Web Site