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.
|
statiC
NOWHERE
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, setEnclosingScope
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnclosingScope, setEnclosingScope
getLocation, throwCompileException
public final Java.Block block
public Initializer(Location location, boolean statiC, Java.Block block)
public void accept(Visitor.TypeBodyDeclarationVisitor visitor)
Java.TypeBodyDeclaration
visit...()
' method of Visitor.TypeBodyDeclarationVisitor
for the concrete
Java.TypeBodyDeclaration
type.accept
in interface Java.TypeBodyDeclaration
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.accept
in interface Java.BlockStatement
public Java.LocalVariable findLocalVariable(String name)
findLocalVariable
in interface Java.BlockStatement
name
Copyright © 2001–2016. All rights reserved.