Class CPString
java.lang.Object
kala.compress.harmony.unpack200.bytecode.ClassFileEntry
kala.compress.harmony.unpack200.bytecode.ConstantPoolEntry
kala.compress.harmony.unpack200.bytecode.CPConstant
kala.compress.harmony.unpack200.bytecode.CPString
String constant pool entry.
-
Field Summary
FieldsFields inherited from class kala.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, tagFields inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprotected ClassFileEntry[]inthashCode()protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entriestoString()protected voidMethods inherited from class kala.compress.harmony.unpack200.bytecode.CPConstant
equals, getValueMethods inherited from class kala.compress.harmony.unpack200.bytecode.ConstantPoolEntry
doWrite, getGlobalIndex, getTagMethods inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Field Details
-
nameIndex
private transient int nameIndex -
name
-
hashCodeComputed
private boolean hashCodeComputed -
cachedHashCode
private int cachedHashCode
-
-
Constructor Details
-
CPString
-
-
Method Details
-
generateHashCode
private void generateHashCode() -
getNestedClassFileEntries
- Overrides:
getNestedClassFileEntriesin classClassFileEntry
-
hashCode
public int 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
- Specified by:
writeBodyin classConstantPoolEntry- Throws:
IOException
-