Class CPMethodRef
- java.lang.Object
-
- kala.compress.harmony.unpack200.bytecode.ClassFileEntry
-
- kala.compress.harmony.unpack200.bytecode.ConstantPoolEntry
-
- kala.compress.harmony.unpack200.bytecode.CPRef
-
- kala.compress.harmony.unpack200.bytecode.CPMethodRef
-
public class CPMethodRef extends CPRef
Method reference constant pool entry.
-
-
Field Summary
Fields Modifier and Type Field Description private intcachedHashCodeprivate booleanhashCodeComputed-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.CPRef
cachedToString, className, classNameIndex, nameAndType, nameAndTypeIndex
-
Fields 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, tag
-
Fields inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
-
Constructor Summary
Constructors Constructor Description CPMethodRef(CPClass className, CPNameAndType descriptor, int globalIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidgenerateHashCode()protected ClassFileEntry[]getNestedClassFileEntries()inthashCode()-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.CPRef
equals, resolve, toString, writeBody
-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.ConstantPoolEntry
doWrite, getGlobalIndex, getTag
-
Methods inherited from class kala.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
-
-
-
Constructor Detail
-
CPMethodRef
public CPMethodRef(CPClass className, CPNameAndType descriptor, int globalIndex)
-
-
Method Detail
-
generateHashCode
private void generateHashCode()
-
getNestedClassFileEntries
protected ClassFileEntry[] getNestedClassFileEntries()
- Overrides:
getNestedClassFileEntriesin classCPRef
-
hashCode
public int hashCode()
- Specified by:
hashCodein classConstantPoolEntry
-
-