Class CPString
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
org.apache.commons.compress.harmony.unpack200.bytecode.ConstantPoolEntry
org.apache.commons.compress.harmony.unpack200.bytecode.CPConstant
org.apache.commons.compress.harmony.unpack200.bytecode.CPString
String constant pool entry.
-
Field Summary
Fields inherited from class ConstantPoolEntry
CP_Class, CP_Double, CP_Fieldref, CP_Float, CP_Integer, CP_InterfaceMethodref, CP_Long, CP_Methodref, CP_NameAndType, CP_String, CP_UTF8, globalIndexFields inherited from class ClassFileEntry
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassFileEntry[]Returns an empty array.inthashCode()protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entriestoString()protected voidWrites this instance to the given output stream.Methods inherited from class CPConstant
equals, getValueMethods inherited from class ConstantPoolEntry
doWrite, getGlobalIndex, getTagMethods inherited from class ClassFileEntry
objectHashCode, write
-
Constructor Details
-
CPString
-
-
Method Details
-
getNestedClassFileEntries
Description copied from class:ClassFileEntryReturns an empty array.- Overrides:
getNestedClassFileEntriesin classClassFileEntry- Returns:
- an empty array.
-
hashCode
- Overrides:
hashCodein classCPConstant
-
resolve
Allows the constant pool entries to resolve their nested entries- Overrides:
resolvein classClassFileEntry- Parameters:
pool- TODO
-
toString
- Specified by:
toStringin classClassFileEntry
-
writeBody
Description copied from class:ConstantPoolEntryWrites this instance to the given output stream.- Specified by:
writeBodyin classConstantPoolEntry- Parameters:
dos- the output stream.- Throws:
IOException- if an I/O error occurs.
-