Class ConstantInfo.Ref
java.lang.Object
org.vesalainen.bcc.ConstantInfo
org.vesalainen.bcc.ConstantInfo.Ref
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
ConstantInfo.Fieldref, ConstantInfo.InterfaceMethodref, ConstantInfo.Methodref
- Enclosing class:
ConstantInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class ConstantInfo
ConstantInfo.Clazz, ConstantInfo.ConstantDouble, ConstantInfo.ConstantFloat, ConstantInfo.ConstantInteger, ConstantInfo.ConstantLong, ConstantInfo.ConstantString, ConstantInfo.Fieldref, ConstantInfo.Filler, ConstantInfo.InterfaceMethodref, ConstantInfo.Methodref, ConstantInfo.NameAndType, ConstantInfo.Ref, ConstantInfo.Utf8 -
Field Summary
FieldsFields inherited from class ConstantInfo
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintinthashCode()protected voidinitialize(DataInput in) voidwrite(DataOutput out) Methods inherited from class ConstantInfo
getTag, read
-
Field Details
-
class_index
private int class_index -
name_and_type_index
private int name_and_type_index
-
-
Constructor Details
-
Ref
public Ref(int tag, int class_index, int name_and_type_index) -
Ref
- Throws:
IOException
-
-
Method Details
-
initialize
- Specified by:
initializein classConstantInfo- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Overrides:
writein classConstantInfo- Throws:
IOException
-
getClass_index
public int getClass_index() -
getName_and_type_index
public int getName_and_type_index() -
equals
-
hashCode
-