Class ConstantInfo.NameAndType
java.lang.Object
org.vesalainen.bcc.ConstantInfo
org.vesalainen.bcc.ConstantInfo.NameAndType
- All Implemented Interfaces:
Writable
- 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) toString()voidwrite(DataOutput out) Methods inherited from class ConstantInfo
getTag, read
-
Field Details
-
name_index
private int name_index -
descriptor_index
private int descriptor_index
-
-
Constructor Details
-
NameAndType
public NameAndType(int name_index, int descriptor_index) -
NameAndType
- Throws:
IOException
-
-
Method Details
-
initialize
- Specified by:
initializein classConstantInfo- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Overrides:
writein classConstantInfo- Throws:
IOException
-
getDescriptor_index
public int getDescriptor_index() -
getName_index
public int getName_index() -
toString
-
equals
-
hashCode
-