Package org.vesalainen.bcc
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
public static class ConstantInfo.Ref extends ConstantInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.vesalainen.bcc.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
Fields Modifier and Type Field Description private intclass_indexprivate intname_and_type_index-
Fields inherited from class org.vesalainen.bcc.ConstantInfo
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetClass_index()intgetName_and_type_index()inthashCode()protected voidinitialize(java.io.DataInput in)voidwrite(java.io.DataOutput out)-
Methods inherited from class org.vesalainen.bcc.ConstantInfo
getTag, read
-
-
-
-
Method Detail
-
initialize
protected void initialize(java.io.DataInput in) throws java.io.IOException- Specified by:
initializein classConstantInfo- Throws:
java.io.IOException
-
write
public void write(java.io.DataOutput out) throws java.io.IOException- Specified by:
writein interfaceWritable- Overrides:
writein classConstantInfo- Throws:
java.io.IOException
-
getClass_index
public int getClass_index()
-
getName_and_type_index
public int getName_and_type_index()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-