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.voidprint(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:
getValuein interfaceAnnotationValue
-
toString
- Specified by:
toStringin interfaceAnnotationValue- Overrides:
toStringin classObject
-
accept
- Specified by:
acceptin interfaceAnnotationValue
-
print
-