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
Inner classes class file attribute
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInnerClassesEntry
(CPClass innerClass, CPClass outerClass, CPUTF8 innerName, int flags) boolean
protected int
Gets the length.protected ClassFileEntry[]
Returns an empty array.int
hashCode()
protected void
resolve
(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.static void
setAttributeName
(CPUTF8 cpUTF8Value) toString()
protected void
Writes this body to the given output stream.Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, isSourceFileAttribute
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Constructor Details
-
InnerClassesAttribute
-
-
Method Details
-
setAttributeName
-
addInnerClassesEntry
public void addInnerClassesEntry(CPClass innerClass, CPClass outerClass, CPUTF8 innerName, int flags) -
equals
-
getLength
Description copied from class:Attribute
Gets the length. -
getNestedClassFileEntries
Description copied from class:ClassFileEntry
Returns an empty array.- Overrides:
getNestedClassFileEntries
in classAttribute
- Returns:
- an empty array.
-
hashCode
-
resolve
Description copied from class:ClassFileEntry
Allows the constant pool entries to resolve their nested entries. -
toString
- Specified by:
toString
in classClassFileEntry
-
writeBody
Description copied from class:Attribute
Writes this body to the given output stream.- Specified by:
writeBody
in classAttribute
- Parameters:
dos
- the output stream.- Throws:
IOException
- if an I/O error occurs.
-