Java.Locatable
, Java.Scope
Java.AlternateConstructorInvocation
, Java.AssertStatement
, Java.Block
, Java.BreakableStatement
, Java.BreakStatement
, Java.ConstructorInvocation
, Java.ContinuableStatement
, Java.ContinueStatement
, Java.DoStatement
, Java.EmptyStatement
, Java.ExpressionStatement
, Java.FieldDeclaration
, Java.ForEachStatement
, Java.ForStatement
, Java.IfStatement
, Java.Initializer
, Java.LabeledStatement
, Java.LocalClassDeclarationStatement
, Java.LocalVariableDeclarationStatement
, Java.ReturnStatement
, Java.Statement
, Java.SuperConstructorInvocation
, Java.SwitchStatement
, Java.SynchronizedStatement
, Java.ThrowStatement
, Java.TryStatement
, Java.WhileStatement
public static interface Java.BlockStatement extends Java.Locatable, Java.Scope
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
Invokes the '
visit...() ' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
Java.LocalVariable |
findLocalVariable(String name) |
|
Java.Scope |
getEnclosingScope() |
|
void |
setEnclosingScope(Java.Scope enclosingScope) |
Sets the enclosing scope of this
Java.BlockStatement . |
getLocation, throwCompileException
void setEnclosingScope(Java.Scope enclosingScope)
Java.BlockStatement
.Java.Scope getEnclosingScope()
getEnclosingScope
in interface Java.Scope
null
void accept(Visitor.BlockStatementVisitor visitor)
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.Java.LocalVariable findLocalVariable(String name)
name
Copyright © 2001–2019. All rights reserved.