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
-
public class CPString extends CPConstant
String constant pool entry.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ConstantPoolEntry
CP_Class, CP_Double, CP_Fieldref, CP_Float, CP_Integer, CP_InterfaceMethodref, CP_Long, CP_Methodref, CP_NameAndType, CP_String, CP_UTF8, globalIndex
-
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassFileEntry[]
getNestedClassFileEntries()
int
hashCode()
protected void
resolve(ClassConstantPool pool)
Allows the constant pool entries to resolve their nested entriesjava.lang.String
toString()
protected void
writeBody(java.io.DataOutputStream dos)
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.CPConstant
equals, getValue
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ConstantPoolEntry
doWrite, getGlobalIndex, getTag
-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
-
-
-
Method Detail
-
writeBody
protected void writeBody(java.io.DataOutputStream dos) throws java.io.IOException
- Specified by:
writeBody
in classConstantPoolEntry
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Specified by:
toString
in classClassFileEntry
-
resolve
protected void resolve(ClassConstantPool pool)
Allows the constant pool entries to resolve their nested entries- Overrides:
resolve
in classClassFileEntry
- Parameters:
pool
- TODO
-
getNestedClassFileEntries
protected ClassFileEntry[] getNestedClassFileEntries()
- Overrides:
getNestedClassFileEntries
in classClassFileEntry
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCPConstant
-
-