Java.Locatable, Java.ScopeJava.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.WhileStatementpublic 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, throwCompileExceptionvoid setEnclosingScope(Java.Scope enclosingScope)
Java.BlockStatement.Java.Scope getEnclosingScope()
getEnclosingScope in interface Java.Scopenullvoid accept(Visitor.BlockStatementVisitor visitor)
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.Java.LocalVariable findLocalVariable(String name)
nameCopyright © 2001–2019. All rights reserved.