Package org.codehaus.janino
Class Java.ClassDeclaration
java.lang.Object
org.codehaus.janino.Java.AbstractTypeDeclaration
org.codehaus.janino.Java.ClassDeclaration
- All Implemented Interfaces:
Java.Locatable
,Java.Scope
,Java.TypeDeclaration
- Direct Known Subclasses:
Java.AnonymousClassDeclaration
,Java.NamedClassDeclaration
- Enclosing class:
Java
-
Field Summary
FieldsFields inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
anonymousClassCount, localClassCount
-
Constructor Summary
ConstructorsConstructorDescriptionClassDeclaration
(Location location, Java.ModifiersAndAnnotations modifiersAndAnnotations) -
Method Summary
Methods inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiersAndAnnotations, invalidateMethodCaches, setEnclosingScope, throwCompileException, 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
accept, getClassName
-
Field Details
-
constructors
-
variableDeclaratorsAndInitializers
-
-
Constructor Details
-
ClassDeclaration
-
-
Method Details
-
addConstructor
-
addVariableDeclaratorOrInitializer
-
defineSyntheticField
- Throws:
CompileException
-