Java.BlockStatement, Java.Locatable, Java.ScopeJava.AlternateConstructorInvocation, Java.SuperConstructorInvocationpublic abstract static class Java.ConstructorInvocation extends Java.Atom implements Java.BlockStatement
Java.SuperConstructorInvocation and Java.AlternateConstructorInvocation.| Modifier and Type | Field | Description |
|---|---|---|
Java.Rvalue[] |
arguments |
The arguments to pass to the constructor.
|
Map<String,Java.LocalVariable> |
localVariables |
The local variables that are accessible during the compilation of the constructor invocation.
|
NOWHERE| Modifier | Constructor | Description |
|---|---|---|
protected |
ConstructorInvocation(Location location,
Java.Rvalue[] arguments) |
| Modifier and Type | Method | Description |
|---|---|---|
Java.LocalVariable |
findLocalVariable(String name) |
|
Java.Scope |
getEnclosingScope() |
|
void |
setEnclosingScope(Java.Scope enclosingScope) |
Sets the enclosing scope of this
Java.BlockStatement. |
accept, toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toString, toType, toTypeOrCompileExceptionacceptgetLocation, throwCompileExceptiongetLocation, throwCompileExceptionpublic final Java.Rvalue[] arguments
public Map<String,Java.LocalVariable> localVariables
protected ConstructorInvocation(Location location, Java.Rvalue[] arguments)
public void setEnclosingScope(Java.Scope enclosingScope)
Java.BlockStatementJava.BlockStatement.setEnclosingScope in interface Java.BlockStatementpublic Java.Scope getEnclosingScope()
getEnclosingScope in interface Java.BlockStatementgetEnclosingScope in interface Java.Scopenullpublic Java.LocalVariable findLocalVariable(String name)
findLocalVariable in interface Java.BlockStatementnameCopyright © 2001–2019. All rights reserved.