Class CPInterfaceMethodRef
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.CPInterfaceMethodRef
Interface method reference constant pool entry.
-
Field Summary
FieldsFields inherited from class kala.compress.harmony.unpack200.bytecode.CPRef
cachedToString, className, classNameIndex, nameAndType, nameAndTypeIndexFields 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
ConstructorsConstructorDescriptionCPInterfaceMethodRef(CPClass className, CPNameAndType descriptor, int globalIndex) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidinthashCode()intThis method answers the value this method will use for an invokeinterface call.Methods inherited from class kala.compress.harmony.unpack200.bytecode.CPRef
equals, getNestedClassFileEntries, resolve, toString, writeBodyMethods 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
-
hashCodeComputed
private boolean hashCodeComputed -
cachedHashCode
private int cachedHashCode
-
-
Constructor Details
-
CPInterfaceMethodRef
-
-
Method Details
-
generateHashCode
private void generateHashCode() -
hashCode
public int hashCode()- Specified by:
hashCodein classConstantPoolEntry
-
invokeInterfaceCount
public int invokeInterfaceCount()This method answers the value this method will use for an invokeinterface call. This is equal to 1 + the count of all the args, where longs and doubles count for 2 and all others count for 1.- Returns:
- integer count
-