public class AnnotationElementValueConstant_c extends TypeObject_c implements AnnotationElementValueConstant
position, ts
Constructor and Description |
---|
AnnotationElementValueConstant_c(JL5TypeSystem ts,
Position pos,
Type type,
java.lang.Object constVal) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
constantValue() |
boolean |
isCanonical()
Return true if the type object contains no unknown/ambiguous types.
|
java.lang.String |
toString() |
copy, equals, equalsImpl, hashCode, position, typeSystem
public AnnotationElementValueConstant_c(JL5TypeSystem ts, Position pos, Type type, java.lang.Object constVal)
public boolean isCanonical()
TypeObject
isCanonical
in interface TypeObject
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object constantValue()
constantValue
in interface AnnotationElementValueConstant