org.codehaus.janino
Class Java.ConstructorInvocation
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.ConstructorInvocation
- All Implemented Interfaces:
- Java.BlockStatement, Java.Locatable, Java.Scope
- Direct Known Subclasses:
- Java.AlternateConstructorInvocation, Java.SuperConstructorInvocation
- Enclosing class:
- Java
public abstract static class Java.ConstructorInvocation
- extends Java.Atom
- implements Java.BlockStatement
Abstract bas class for Java.SuperConstructorInvocation and Java.AlternateConstructorInvocation.
arguments
public final Java.Rvalue[] arguments
- The arguments to pass to the constructor.
localVariables
public Map<String,Java.LocalVariable> localVariables
- The local variables that are accessible during the compilation of the constructor invocation.
Java.ConstructorInvocation
protected Java.ConstructorInvocation(Location location,
Java.Rvalue[] arguments)
setEnclosingScope
public void setEnclosingScope(Java.Scope enclosingScope)
- Description copied from interface:
Java.BlockStatement
- Sets the enclosing scope of this
Java.BlockStatement.
- Specified by:
setEnclosingScope in interface Java.BlockStatement
getEnclosingScope
public Java.Scope getEnclosingScope()
- Specified by:
getEnclosingScope in interface Java.BlockStatement- Specified by:
getEnclosingScope in interface Java.Scope
- Returns:
- The scope that encloses this scope, or
null
findLocalVariable
public Java.LocalVariable findLocalVariable(String name)
- Specified by:
findLocalVariable in interface Java.BlockStatement
- Returns:
- The local variable with the given
name