Class CPFieldRef
java.lang.Object
kala.compress.harmony.unpack200.bytecode.ClassFileEntry
kala.compress.harmony.unpack200.bytecode.ConstantPoolEntry
kala.compress.harmony.unpack200.bytecode.CPFieldRef
Field reference constant pool entry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int(package private) CPClass(package private) intprivate booleanprivate final CPNameAndType(package private) intFields 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 TypeMethodDescriptionbooleanprivate voidprotected ClassFileEntry[]inthashCode()protected voidresolve(ClassConstantPool pool) Allows the constant pool entries to resolve their nested entries.toString()protected voidMethods 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
-
className
CPClass className -
classNameIndex
transient int classNameIndex -
nameAndType
-
nameAndTypeIndex
transient int nameAndTypeIndex -
hashCodeComputed
private boolean hashCodeComputed -
cachedHashCode
private int cachedHashCode
-
-
Constructor Details
-
CPFieldRef
-
-
Method Details
-
equals
- Specified by:
equalsin classConstantPoolEntry
-
generateHashCode
private void generateHashCode() -
getNestedClassFileEntries
- Overrides:
getNestedClassFileEntriesin classClassFileEntry
-
hashCode
public int hashCode()- Specified by:
hashCodein classConstantPoolEntry
-
resolve
Description copied from class:ClassFileEntryAllows 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
-