Class CPMember
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
org.apache.commons.compress.harmony.unpack200.bytecode.CPMember
Superclass for member constant pool entries, such as fields or methods.
-
Field Summary
FieldsFields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoWrite(DataOutputStream dos) Writes this instance to the output stream.booleanprotected ClassFileEntry[]Returns an empty array.inthashCode()protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.toString()Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Field Details
-
descriptor
-
-
Constructor Details
-
CPMember
Constructs a new CPMember.- Parameters:
name- TODOdescriptor- TODOflags- TODOattributes- TODO- Throws:
NullPointerException- if name or descriptor is null
-
-
Method Details
-
doWrite
Description copied from class:ClassFileEntryWrites this instance to the output stream.- Specified by:
doWritein classClassFileEntry- Parameters:
dos- the output stream.- Throws:
IOException- if an I/O error occurs.
-
equals
- Specified by:
equalsin classClassFileEntry
-
getNestedClassFileEntries
Description copied from class:ClassFileEntryReturns an empty array.- Overrides:
getNestedClassFileEntriesin classClassFileEntry- Returns:
- an empty array.
-
hashCode
- Specified by:
hashCodein classClassFileEntry
-
resolve
Description copied from class:ClassFileEntryAllows the constant pool entries to resolve their nested entries.- Overrides:
resolvein classClassFileEntry- Parameters:
pool- The class constant pool.
-
toString
- Specified by:
toStringin classClassFileEntry
-