Class BytecodeEnumAnnotationValue
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeEnumAnnotationValue
-
- All Implemented Interfaces:
BytecodeAnnotationValue
public final class BytecodeEnumAnnotationValue extends Object implements BytecodeAnnotationValue
An annotation value that is an enumeration.- Since:
- 0.6
-
-
Constructor Summary
Constructors Constructor Description BytecodeEnumAnnotationValue(String name, String descriptor, String value)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.xembly.Directive>directives(int index, Format format)Convert to directives.voidwriteTo(org.objectweb.asm.AnnotationVisitor visitor)Write the value to the given visitor.
-
-
-
Method Detail
-
writeTo
public void writeTo(org.objectweb.asm.AnnotationVisitor visitor)
Description copied from interface:BytecodeAnnotationValueWrite the value to the given visitor.- Specified by:
writeToin interfaceBytecodeAnnotationValue- Parameters:
visitor- Visitor.
-
directives
public Iterable<org.xembly.Directive> directives(int index, Format format)
Description copied from interface:BytecodeAnnotationValueConvert to directives.- Specified by:
directivesin interfaceBytecodeAnnotationValue- Parameters:
index- Index of the annotation in the list of annotations.format- Format of the directives.- Returns:
- Directives.
-
-