|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.NewClassInstance
public static final class Java.NewClassInstance
Representation of a JLS7 'class instance creation expression'.
| Field Summary | |
|---|---|
Java.Rvalue[] |
arguments
The arguments to pass to the constructor. |
protected IClass |
iClass
The resolved type. |
Java.Rvalue |
optionalQualification
The qualification of this 'qualified class instance creation expression'. |
Java.Type |
type
The type to instantiate. |
| Fields inherited from class org.codehaus.janino.Java.Located |
|---|
NOWHERE |
| Constructor Summary | |
|---|---|
Java.NewClassInstance(Location location,
Java.Rvalue optionalQualification,
IClass iClass,
Java.Rvalue[] arguments)
|
|
Java.NewClassInstance(Location location,
Java.Rvalue optionalQualification,
Java.Type type,
Java.Rvalue[] arguments)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor.AtomVisitor visitor)
Invokes the ' visit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type. |
void |
accept(Visitor.ElementValueVisitor visitor)
Invokes the ' visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.RvalueVisitor visitor)
Invokes the ' visit...()' method of Visitor.RvalueVisitor for the concrete Java.Rvalue
type. |
String |
toString()
|
| Methods inherited from class org.codehaus.janino.Java.Rvalue |
|---|
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue |
| Methods inherited from class org.codehaus.janino.Java.Atom |
|---|
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileException |
| Methods inherited from class org.codehaus.janino.Java.Located |
|---|
getLocation, throwCompileException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.janino.Java.Locatable |
|---|
getLocation, throwCompileException |
| Field Detail |
|---|
public final Java.Rvalue optionalQualification
public final Java.Type type
public final Java.Rvalue[] arguments
protected IClass iClass
type.
| Constructor Detail |
|---|
public Java.NewClassInstance(Location location,
Java.Rvalue optionalQualification,
Java.Type type,
Java.Rvalue[] arguments)
public Java.NewClassInstance(Location location,
Java.Rvalue optionalQualification,
IClass iClass,
Java.Rvalue[] arguments)
| Method Detail |
|---|
public String toString()
toString in class Java.Atompublic void accept(Visitor.AtomVisitor visitor)
Java.Atomvisit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type.
accept in class Java.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvaluevisit...()' method of Visitor.RvalueVisitor for the concrete Java.Rvalue
type.
accept in class Java.Rvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||