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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static CPUTF8private final List<InnerClassesAttribute.InnerClassesEntry>private final List<ConstantPoolEntry>Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInnerClassesEntry(CPClass innerClass, CPClass outerClass, CPUTF8 innerName, int flags) private voidaddInnerClassesEntry(InnerClassesAttribute.InnerClassesEntry innerClassesEntry) booleanprotected intGets the length.protected ClassFileEntry[]Returns an empty array.inthashCode()protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.static voidsetAttributeName(CPUTF8 cpUTF8Value) toString()protected voidWrites this body to the given output stream.Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, getAttributeName, getLengthIncludingHeader, hasBCIRenumbering, isSourceFileAttributeMethods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Field Details
-
attributeName
-
innerClasses
-
nestedClassFileEntries
-
-
Constructor Details
-
InnerClassesAttribute
-
-
Method Details
-
setAttributeName
-
addInnerClassesEntry
-
addInnerClassesEntry
-
equals
-
getLength
protected int getLength()Description copied from class:AttributeGets the length. -
getNestedClassFileEntries
Description copied from class:ClassFileEntryReturns an empty array.- Overrides:
getNestedClassFileEntriesin classAttribute- Returns:
- an empty array.
-
hashCode
public int hashCode() -
resolve
Description copied from class:ClassFileEntryAllows the constant pool entries to resolve their nested entries. -
toString
- Specified by:
toStringin classClassFileEntry
-
writeBody
Description copied from class:AttributeWrites this body to the given output stream.- Specified by:
writeBodyin classAttribute- Parameters:
dos- the output stream.- Throws:
IOException- if an I/O error occurs.
-