Class AnnotationsAttribute.Annotation
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.bytecode.AnnotationsAttribute.Annotation
-
- Enclosing class:
- AnnotationsAttribute
public static class AnnotationsAttribute.Annotation extends java.lang.Object
Class to represent the annotation structure for class file attributes
-
-
Constructor Summary
Constructors Constructor Description Annotation(int num_pairs, CPUTF8 type, CPUTF8[] element_names, AnnotationsAttribute.ElementValue[] element_values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getClassFileEntries()
int
getLength()
void
resolve(ClassConstantPool pool)
void
writeBody(java.io.DataOutputStream dos)
-
-
-
Constructor Detail
-
Annotation
public Annotation(int num_pairs, CPUTF8 type, CPUTF8[] element_names, AnnotationsAttribute.ElementValue[] element_values)
-
-
Method Detail
-
getLength
public int getLength()
-
resolve
public void resolve(ClassConstantPool pool)
-
writeBody
public void writeBody(java.io.DataOutputStream dos) throws java.io.IOException
- Throws:
java.io.IOException
-
getClassFileEntries
public java.util.List getClassFileEntries()
-
-