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 |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.BlockStatementVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
<R,EX extends Throwable> |
accept(Visitor.TypeBodyDeclarationVisitor<R,EX> 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)
@Nullable public <R,EX extends Throwable> R accept(Visitor.TypeBodyDeclarationVisitor<R,EX> visitor) throws EX extends Throwable
Java.TypeBodyDeclarationvisit...()" method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type.accept in interface Java.TypeBodyDeclarationEX extends Throwable@Nullable public <R,EX extends Throwable> R accept(Visitor.BlockStatementVisitor<R,EX> visitor) throws EX extends Throwable
Java.BlockStatementvisit...()" method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.accept in interface Java.BlockStatementEX extends Throwable@Nullable public Java.LocalVariable findLocalVariable(String name)
findLocalVariable in interface Java.BlockStatementCopyright © 2019. All rights reserved.