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 |
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, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptgetLocation, throwCompileExceptionprotected Statement(Location location)
public void setEnclosingScope(Java.Scope enclosingScope)
setEnclosingScope in interface Java.BlockStatementpublic Java.Scope getEnclosingScope()
getEnclosingScope in interface Java.BlockStatementgetEnclosingScope in interface Java.Scopepublic Java.LocalVariable findLocalVariable(java.lang.String name)
findLocalVariable in interface Java.BlockStatement