Class BytecodeArrayAnnotationValue
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeArrayAnnotationValue
-
- All Implemented Interfaces:
BytecodeAnnotationValue
public final class BytecodeArrayAnnotationValue extends Object implements BytecodeAnnotationValue
An annotation value that is an array.- Since:
- 0.6
-
-
Constructor Summary
Constructors Constructor Description BytecodeArrayAnnotationValue(String name, List<BytecodeAnnotationValue> values)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.xembly.Directive>
directives()
void
writeTo(org.objectweb.asm.AnnotationVisitor visitor)
Write the value to the given visitor.
-
-
-
Constructor Detail
-
BytecodeArrayAnnotationValue
public BytecodeArrayAnnotationValue(String name, List<BytecodeAnnotationValue> values)
Constructor.- Parameters:
name
- The name of the annotation property.values
- The actual values.
-
-
Method Detail
-
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
public Iterable<org.xembly.Directive> directives()
- Specified by:
directives
in interfaceBytecodeAnnotationValue
-
-