public static final class Java.LocalVariableDeclarationStatement extends Java.Statement
| Modifier and Type | Field and Description |
|---|---|
Java.Modifiers |
modifiers
The local variable modifiers (annotations and/or flags like FINAL).
|
Java.Type |
type
The declared type of the local variable.
|
Java.VariableDeclarator[] |
variableDeclarators
The (one or more) "variable declarators" that follow the type.
|
localVariablesNOWHERE| Constructor and Description |
|---|
LocalVariableDeclarationStatement(Location location,
Java.Modifiers modifiers,
Java.Type type,
Java.VariableDeclarator[] variableDeclarators) |
| 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. |
String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.Modifiers modifiers
public final Java.Type type
public final Java.VariableDeclarator[] variableDeclarators
public LocalVariableDeclarationStatement(Location location, Java.Modifiers modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators) throws CompileException
modifiers - Only final allowedCompileException@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.EX extends ThrowableCopyright © 2019. All rights reserved.