Package org.codehaus.janino
Class Java.AmbiguousName
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.Lvalue
org.codehaus.janino.Java.AmbiguousName
- All Implemented Interfaces:
Java.ArrayInitializerOrRvalue
,Java.ElementValue
,Java.Locatable
- Enclosing class:
Java
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String[]
The firstn
of these identifiers comprise this ambiguous name.final int
(package private) Java.Atom
The result of "ambiguous name resolution" during compilation.private Java.Type
Fields inherited from class org.codehaus.janino.Java.Rvalue
CONSTANT_VALUE_UNKNOWN, constantValue
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
Constructor Summary
ConstructorsConstructorDescriptionAmbiguousName
(Location location, String[] identifiers) AmbiguousName
(Location location, String[] identifiers, int n) -
Method Summary
Methods inherited from class org.codehaus.janino.Java.Lvalue
accept
Methods inherited from class org.codehaus.janino.Java.Rvalue
accept, accept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScope
Methods inherited from class org.codehaus.janino.Java.Atom
toLvalueOrCompileException, toRvalueOrCompileException, 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 Details
-
identifiers
The firstn
of these identifiers comprise this ambiguous name. -
n
public final int n- See Also:
-
type
-
reclassified
The result of "ambiguous name resolution" during compilation.
-
-
Constructor Details
-
AmbiguousName
-
AmbiguousName
-
-
Method Details
-
toType
-
toString
-
toLvalue
- Overrides:
toLvalue
in classJava.Lvalue
- Returns:
- This atom, converted to
Java.Lvalue
, ornull
if this atom is not an lvalue
-
toRvalue
- Overrides:
toRvalue
in classJava.Rvalue
- Returns:
- This atom, converted to
Java.Rvalue
, ornull
if this atom is not an rvalue
-
accept
Description copied from class:Java.Lvalue
- Specified by:
accept
in classJava.Lvalue
- Throws:
EX
-