Package org.apache.commons.compress.harmony.unpack200.bytecode

# Class AnnotationsAttribute.Annotation

java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.AnnotationsAttribute.Annotation

Enclosing class:
  AnnotationsAttribute

public static class AnnotationsAttribute.Annotation extends Object
Class to represent the annotation structure for class file attributes

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Annotation(int numPairs, CPUTF8 type, CPUTF8[] elementNames, AnnotationsAttribute.ElementValue[] elementValues)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<Object>`
  `getClassFileEntries()`
  `int`
  `getLength()`
  `void`
  `resolve(ClassConstantPool pool)`
  `void`
  `writeBody(DataOutputStream dos)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Annotation

    public Annotation(int numPairs, CPUTF8 type, CPUTF8[] elementNames, AnnotationsAttribute.ElementValue[] elementValues)

- ## Method Details

  - ### getClassFileEntries

    public List<Object> getClassFileEntries()

  - ### getLength

    public int getLength()

  - ### resolve

    public void resolve(ClassConstantPool pool)

  - ### writeBody

    public void writeBody(DataOutputStream dos) throws IOException
    Throws:
      `IOException`