Package gnu.bytecode
Class AnnotationEntry.Value
java.lang.Object
gnu.bytecode.AnnotationEntry.Value
- All Implemented Interfaces:
AnnotationValue
- Enclosing class:
AnnotationEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,
P> R accept
(AnnotationValueVisitor<R, P> v, P p) getValue()
Get an Object representing the annotation value.void
print
(int indentation, ClassTypeWriter out) toString()
-
Constructor Details
-
Value
-
-
Method Details
-
getValue
Get an Object representing the annotation value. If the kind is 'e', the value is *either* a Field or an 2-element array [ClassName, EnumName] or the actual Enum value. If kind is 'c', the value is *either* a ClassType or a String.- Specified by:
getValue
in interfaceAnnotationValue
-
toString
- Specified by:
toString
in interfaceAnnotationValue
- Overrides:
toString
in classObject
-
accept
- Specified by:
accept
in interfaceAnnotationValue
-
print
-