public class ElementValueConst extends java.lang.Object implements ElementValue
| Modifier and Type | Field and Description |
|---|---|
private TypedLiteral |
value |
| Constructor and Description |
|---|
ElementValueConst(TypedLiteral value) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper d) |
boolean |
equals(java.lang.Object obj) |
ElementValue |
withTypeHint(JavaTypeInstance hint) |
private final TypedLiteral value
public ElementValueConst(TypedLiteral value)
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages in interface TypeUsageCollectablepublic ElementValue withTypeHint(JavaTypeInstance hint)
withTypeHint in interface ElementValuepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object