Java.BlockStatement, Java.Locatable, Java.Scope, Java.TypeBodyDeclarationpublic static final class Java.Initializer extends Java.AbstractTypeBodyDeclaration implements Java.BlockStatement
| Modifier and Type | Field | Description |
|---|---|---|
Java.Block |
block |
The block that poses the initializer.
|
statiCNOWHERE| Constructor | Description |
|---|---|
Initializer(Location location,
boolean statiC,
Java.Block block) |
| Modifier and Type | Method | 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, setEnclosingScopegetEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptiongetLocation, 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–2019. All rights reserved.