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 BytecodeAnnotationPropertybyType(String type, List<Object> params)Factory method for property by type.voidwriteTo(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:BytecodeAnnotationValueWrite the value to the given visitor.- Specified by:
writeToin interfaceBytecodeAnnotationValue- Parameters:
avisitor- Visitor.
-
-