Class BytecodeAnnotationProperty
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeAnnotationProperty
-
- All Implemented Interfaces:
BytecodeAnnotationValue
public final class BytecodeAnnotationProperty extends Object implements BytecodeAnnotationValue
Bytecode annotation property.- Since:
- 0.3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BytecodeAnnotationProperty
byType(String type, List<Object> params)
Factory method for property by type.void
writeTo(org.objectweb.asm.AnnotationVisitor avisitor)
Write the value to the given visitor.
-
-
-
Method Detail
-
byType
public static BytecodeAnnotationProperty byType(String type, List<Object> params)
Factory method for property by type.- Parameters:
type
- Type.params
- Parameters.- Returns:
- Property.
-
writeTo
public void writeTo(org.objectweb.asm.AnnotationVisitor avisitor)
Description copied from interface:BytecodeAnnotationValue
Write the value to the given visitor.- Specified by:
writeTo
in interfaceBytecodeAnnotationValue
- Parameters:
avisitor
- Visitor.
-
-