Class EnumConstValue
java.lang.Object
org.vesalainen.bcc.annotation.ElementValue
org.vesalainen.bcc.annotation.EnumConstValue
- All Implemented Interfaces:
AnnotationValue, Writable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intFields inherited from class ElementValue
classFile, tag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(AnnotationValueVisitor<R, P> v, P p) intgetName()getValue()toString()voidwrite(DataOutput out) Methods inherited from class ElementValue
newInstance
-
Field Details
-
typeNameIndex
private final int typeNameIndex -
constNameIndex
private final int constNameIndex
-
-
Constructor Details
-
EnumConstValue
- Throws:
IOException
-
-
Method Details
-
write
- Throws:
IOException
-
getLength
public int getLength()- Specified by:
getLengthin classElementValue
-
getDescriptor
-
getName
-
toString
- Specified by:
toStringin interfaceAnnotationValue- Overrides:
toStringin classObject
-
getValue
-
accept
-