-
- All Implemented Interfaces:
-
org.gjt.jclasslib.structures.AnnotationData
public final class Annotation extends SubStructure implements AnnotationData
Describes an Annotation attribute structure.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegertypeIndexprivate Array<ElementValuePair>elementValuePairEntriesprivate final Integerlength
-
Constructor Summary
Constructors Constructor Description Annotation()
-
Method Summary
Modifier and Type Method Description IntegergetTypeIndex()type_index of this annotation. UnitsetTypeIndex(Integer typeIndex)type_index of this annotation. Array<ElementValuePair>getElementValuePairEntries()Element value pair associations of the parent structure UnitsetElementValuePairEntries(Array<ElementValuePair> elementValuePairEntries)Element value pair associations of the parent structure IntegergetLength()The length of the structure in bytes. -
-
Method Detail
-
getTypeIndex
Integer getTypeIndex()
type_index of this annotation.
-
setTypeIndex
Unit setTypeIndex(Integer typeIndex)
type_index of this annotation.
-
getElementValuePairEntries
Array<ElementValuePair> getElementValuePairEntries()
Element value pair associations of the parent structure
-
setElementValuePairEntries
Unit setElementValuePairEntries(Array<ElementValuePair> elementValuePairEntries)
Element value pair associations of the parent structure
-
-
-
-