Class ClassFileEntry
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
- Direct Known Subclasses:
Attribute
,ByteCode
,ConstantPoolEntry
,CPMember
The abstract superclass for all types of class file entries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ClassFileEntry[]
An empty ClassFileEntry array. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doWrite
(DataOutputStream dos) Writes this instance to the output stream.abstract boolean
protected ClassFileEntry[]
Returns an empty array.abstract int
hashCode()
protected int
Delegates to superhashCode()
.protected void
resolve
(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.abstract String
toString()
final void
write
(DataOutputStream dos) Writes this instance to the output stream.
-
Field Details
-
Constructor Details
-
ClassFileEntry
public ClassFileEntry()
-
-
Method Details
-
doWrite
Writes this instance to the output stream.- Parameters:
dos
- the output stream.- Throws:
IOException
- if an I/O error occurs.
-
equals
-
getNestedClassFileEntries
Returns an empty array.- Returns:
- an empty array.
-
hashCode
-
objectHashCode
Delegates to superhashCode()
.- Returns:
- super
hashCode()
.
-
resolve
Allows the constant pool entries to resolve their nested entries.- Parameters:
pool
- The class constant pool.
-
toString
-
write
Writes this instance to the output stream.- Parameters:
dos
- the output stream.- Throws:
IOException
- if an I/O error occurs.
-