Class AnnotationsAttribute.Annotation
java.lang.Object
kala.compress.harmony.unpack200.bytecode.AnnotationsAttribute.Annotation
- Enclosing class:
AnnotationsAttribute
Class to represent the annotation structure for class file attributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CPUTF8[]private final AnnotationsAttribute.ElementValue[]private int[]private final intprivate final CPUTF8private int -
Constructor Summary
ConstructorsConstructorDescriptionAnnotation(int numPairs, CPUTF8 type, CPUTF8[] elementNames, AnnotationsAttribute.ElementValue[] elementValues) -
Method Summary
-
Field Details
-
numPairs
private final int numPairs -
elementNames
-
elementValues
-
type
-
typeIndex
private int typeIndex -
nameIndexes
private int[] nameIndexes
-
-
Constructor Details
-
Annotation
public Annotation(int numPairs, CPUTF8 type, CPUTF8[] elementNames, AnnotationsAttribute.ElementValue[] elementValues)
-
-
Method Details
-
getClassFileEntries
-
getLength
public int getLength() -
resolve
-
writeBody
- Throws:
IOException
-