public abstract static class Java.Statement extends Java.Located implements Java.BlockStatement
This class is mis-named; according to the JLS, its name should be 'BlockStatement'.
Modifier and Type | Field and Description |
---|---|
java.util.Map |
localVariables |
NOWHERE
Modifier | Constructor and Description |
---|---|
protected |
Java.Statement(Location location) |
Modifier and Type | Method and Description |
---|---|
Java.LocalVariable |
findLocalVariable(java.lang.String name) |
Java.Scope |
getEnclosingScope() |
void |
setEnclosingScope(Java.Scope enclosingScope) |
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
getLocation, throwCompileException
protected Java.Statement(Location location)
public void setEnclosingScope(Java.Scope enclosingScope)
setEnclosingScope
in interface Java.BlockStatement
public Java.Scope getEnclosingScope()
getEnclosingScope
in interface Java.BlockStatement
getEnclosingScope
in interface Java.Scope
public Java.LocalVariable findLocalVariable(java.lang.String name)
findLocalVariable
in interface Java.BlockStatement