public static final class Java.Initializer extends Java.AbstractTypeBodyDeclaration implements Java.BlockStatement
| Modifier and Type | Field and Description |
|---|---|
Java.Block |
block
The block that poses the initializer.
|
statiCNOWHERE| Constructor and Description |
|---|
Initializer(Location location,
boolean statiC,
Java.Block block) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor)
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
void |
accept(Visitor.TypeBodyDeclarationVisitor visitor)
Invokes the '
visit...()' method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type. |
Java.LocalVariable |
findLocalVariable(String name) |
String |
toString() |
getDeclaringType, getEnclosingScope, isStatic, setDeclaringType, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionpublic final Java.Block block
public Initializer(Location location, boolean statiC, Java.Block block)
public void accept(Visitor.TypeBodyDeclarationVisitor visitor)
Java.TypeBodyDeclarationvisit...()' method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type.accept in interface Java.TypeBodyDeclarationpublic void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.accept in interface Java.BlockStatementpublic Java.LocalVariable findLocalVariable(String name)
findLocalVariable in interface Java.BlockStatementnameCopyright © 2001–2025. All rights reserved.