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
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doWrite
(DataOutputStream dos) boolean
protected ClassFileEntry[]
int
hashCode()
protected void
resolve
(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
- Specified by:
doWrite
in classClassFileEntry
- Throws:
IOException
-
equals
- Specified by:
equals
in classClassFileEntry
-
getNestedClassFileEntries
- Overrides:
getNestedClassFileEntries
in classClassFileEntry
-
hashCode
- Specified by:
hashCode
in classClassFileEntry
-
resolve
Description copied from class:ClassFileEntry
Allows the constant pool entries to resolve their nested entries.- Overrides:
resolve
in classClassFileEntry
- Parameters:
pool
- TODO
-
toString
- Specified by:
toString
in classClassFileEntry
-