Class ElementValueEnum
- java.lang.Object
-
- org.benf.cfr.reader.entities.annotations.ElementValueEnum
-
- All Implemented Interfaces:
ElementValue
,Dumpable
,TypeUsageCollectable
public class ElementValueEnum extends java.lang.Object implements ElementValue
-
-
Field Summary
Fields Modifier and Type Field Description private JavaTypeInstance
type
private java.lang.String
valueName
-
Constructor Summary
Constructors Constructor Description ElementValueEnum(JavaTypeInstance type, java.lang.String valueName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectTypeUsages(TypeUsageCollector collector)
Dumper
dump(Dumper d)
boolean
equals(java.lang.Object obj)
ElementValue
withTypeHint(JavaTypeInstance hint)
-
-
-
Field Detail
-
type
private final JavaTypeInstance type
-
valueName
private final java.lang.String valueName
-
-
Constructor Detail
-
ElementValueEnum
public ElementValueEnum(JavaTypeInstance type, java.lang.String valueName)
-
-
Method Detail
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
-
withTypeHint
public ElementValue withTypeHint(JavaTypeInstance hint)
- Specified by:
withTypeHint
in interfaceElementValue
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-