Package org.codehaus.janino
Class Java.RvalueMemberType
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Type
org.codehaus.janino.Java.RvalueMemberType
- All Implemented Interfaces:
Java.Locatable
- Enclosing class:
- Java
Representation of the first part of a JLS7 15.9 "Qualified class instance creation expression": The "
a.new MyClass
" part of "a.new MyClass(...)
" expression.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The simple name of the inner type being instantiated.final Java.Rvalue
The expression that represents the outer instance required for the instantiation of the inner type.Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
Constructor Summary
ConstructorsConstructorDescriptionRvalueMemberType
(Location location, Java.Rvalue rvalue, String identifier) Notice: The rvalue is not a subordinate object! -
Method Summary
Modifier and TypeMethodDescription<R,
EX extends Throwable>
Raccept
(Visitor.AtomVisitor<R, EX> visitor) <R,
EX extends Throwable>
Raccept
(Visitor.TypeVisitor<R, EX> visitor) toString()
Methods inherited from class org.codehaus.janino.Java.Type
getEnclosingScope, setEnclosingScope, toType
Methods inherited from class org.codehaus.janino.Java.Atom
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toTypeOrCompileException
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
Field Details
-
rvalue
The expression that represents the outer instance required for the instantiation of the inner type. -
identifier
The simple name of the inner type being instantiated.
-
-
Constructor Details
-
RvalueMemberType
Notice: The rvalue is not a subordinate object!
-
-
Method Details