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 and 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 and Description
    --- | ---
    `List` | `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 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(DataOutputStream dos)
                         throws IOException

      Throws:
        `IOException`

    - #### getClassFileEntries

          public List getClassFileEntries()

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.