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

# Class DeprecatedAttribute

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.DeprecatedAttribute

public class DeprecatedAttribute extends Attribute
Deprecated class file attribute.

- ## Field Summary

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

  `NONE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DeprecatedAttribute()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected int`
  `getLength()`
  `static void`
  `setAttributeName(CPUTF8 cpUTF8Value)`
  `String`
  `toString()`
  `protected void`
  `writeBody(DataOutputStream dos)`

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

  `doWrite, equals, getAttributeName, getLengthIncludingHeader, getNestedClassFileEntries, hasBCIRenumbering, hashCode, isSourceFileAttribute, resolve`

  ### 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 Details

  - ### DeprecatedAttribute

    public DeprecatedAttribute()

- ## Method Details

  - ### setAttributeName

    public static void setAttributeName(CPUTF8 cpUTF8Value)

  - ### getLength

    protected int getLength()
    Specified by:
      `getLength` in class `Attribute`

  - ### toString

    public String toString()
    Specified by:
      `toString` in class `ClassFileEntry`

  - ### writeBody

    protected void writeBody(DataOutputStream dos) throws IOException
    Specified by:
      `writeBody` in class `Attribute`
    Throws:
      `IOException`