Package org.codehaus.janino
Class Java.Initializer
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.AbstractTypeBodyDeclaration
org.codehaus.janino.Java.Initializer
- All Implemented Interfaces:
Java.BlockStatement,Java.Locatable,Java.Scope,Java.TypeBodyDeclaration
- Enclosing class:
Java
public static final class Java.Initializer
extends Java.AbstractTypeBodyDeclaration
implements Java.BlockStatement
Representation of an instance (JLS2 8.6) or static initializer (JLS2 8.7).
-
Field Summary
FieldsFields inherited from class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
statiCFields inherited from class org.codehaus.janino.Java.Located
NOWHERE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Visitor.BlockStatementVisitor visitor) voidaccept(Visitor.TypeBodyDeclarationVisitor visitor) findLocalVariable(String name) toString()Methods inherited from class org.codehaus.janino.Java.AbstractTypeBodyDeclaration
getDeclaringType, getEnclosingScope, isStatic, setDeclaringType, setEnclosingScopeMethods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.janino.Java.BlockStatement
getEnclosingScope, setEnclosingScopeMethods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
-
Field Details
-
block
-
-
Constructor Details
-
Initializer
-
-
Method Details
-
toString
-
accept
- Specified by:
acceptin interfaceJava.TypeBodyDeclaration
-
accept
- Specified by:
acceptin interfaceJava.BlockStatement
-
findLocalVariable
- Specified by:
findLocalVariablein interfaceJava.BlockStatement
-