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

## Class InnerClassesAttribute

- java.lang.Object
- - org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
  - - org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
    - - org.apache.commons.compress.harmony.unpack200.bytecode.InnerClassesAttribute

-     public class InnerClassesAttribute
      extends Attribute

  Inner classes class file attribute

- - ### Field Summary

    - ### Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry

      `NONE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InnerClassesAttribute(String name)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addInnerClassesEntry(CPClass innerClass, CPClass outerClass, CPUTF8 innerName, int flags)`
    `protected void` | `doWrite(DataOutputStream dos)`
    `boolean` | `equals(Object obj)`
    `protected int` | `getLength()`
    `protected ClassFileEntry[]` | `getNestedClassFileEntries()`
    `int` | `hashCode()`
    `protected void` | `resolve(ClassConstantPool pool)` Allows the constant pool entries to resolve their nested entries.
    `static void` | `setAttributeName(CPUTF8 cpUTF8Value)`
    `String` | `toString()`
    `protected void` | `writeBody(DataOutputStream dos)`

    - ### Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute

      `getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, isSourceFileAttribute`

    - ### Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry

      `objectHashCode, write`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### InnerClassesAttribute

          public InnerClassesAttribute(String name)

  - ### Method Detail

    - #### setAttributeName

          public static void setAttributeName(CPUTF8 cpUTF8Value)

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Attribute`

    - #### getLength

          protected int getLength()

      Specified by:
        `getLength` in class `Attribute`

    - #### getNestedClassFileEntries

          protected ClassFileEntry[] getNestedClassFileEntries()

      Overrides:
        `getNestedClassFileEntries` in class `Attribute`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Attribute`

    - #### resolve

          protected void resolve(ClassConstantPool pool)

      Description copied from class: `ClassFileEntry`
      Allows the constant pool entries to resolve their nested entries.
      Overrides:
        `resolve` in class `Attribute`
      Parameters:
        `pool` - TODO

    - #### toString

          public String toString()

      Specified by:
        `toString` in class `ClassFileEntry`

    - #### doWrite

          protected void doWrite(DataOutputStream dos)
                          throws IOException

      Overrides:
        `doWrite` in class `Attribute`
      Throws:
        `IOException`

    - #### writeBody

          protected void writeBody(DataOutputStream dos)
                            throws IOException

      Specified by:
        `writeBody` in class `Attribute`
      Throws:
        `IOException`

    - #### addInnerClassesEntry

          public void addInnerClassesEntry(CPClass innerClass,
                                           CPClass outerClass,
                                           CPUTF8 innerName,
                                           int flags)

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