Class ElementValueConst
- java.lang.Object
-
- org.benf.cfr.reader.entities.annotations.ElementValueConst
-
- All Implemented Interfaces:
ElementValue,Dumpable,TypeUsageCollectable
public class ElementValueConst extends java.lang.Object implements ElementValue
-
-
Field Summary
Fields Modifier and Type Field Description private TypedLiteralvalue
-
Constructor Summary
Constructors Constructor Description ElementValueConst(TypedLiteral value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectTypeUsages(TypeUsageCollector collector)Dumperdump(Dumper d)booleanequals(java.lang.Object obj)ElementValuewithTypeHint(JavaTypeInstance hint)
-
-
-
Field Detail
-
value
private final TypedLiteral value
-
-
Constructor Detail
-
ElementValueConst
public ElementValueConst(TypedLiteral value)
-
-
Method Detail
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable
-
withTypeHint
public ElementValue withTypeHint(JavaTypeInstance hint)
- Specified by:
withTypeHintin interfaceElementValue
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-