Class BytecodeEnumAnnotationValue
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeEnumAnnotationValue
- All Implemented Interfaces:
BytecodeAnnotationValue
An annotation value that is an enumeration.
- Since:
- 0.6
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeEnumAnnotationValue
(String name, String descriptor, String value) Constructor. -
Method Summary
-
Constructor Details
-
BytecodeEnumAnnotationValue
Constructor.- Parameters:
name
- The name of the annotation property.descriptor
- The descriptor of the enumeration.value
- The actual enumeration value.
-
-
Method Details
-
writeTo
public void writeTo(org.objectweb.asm.AnnotationVisitor visitor) Description copied from interface:BytecodeAnnotationValue
Write the value to the given visitor.- Specified by:
writeTo
in interfaceBytecodeAnnotationValue
- Parameters:
visitor
- Visitor.
-
directives
- Specified by:
directives
in interfaceBytecodeAnnotationValue
-