Package org.vesalainen.bcc
Class ConstantInfo.ConstantString
- java.lang.Object
-
- org.vesalainen.bcc.ConstantInfo
-
- org.vesalainen.bcc.ConstantInfo.ConstantString
-
- All Implemented Interfaces:
Writable
- Enclosing class:
- ConstantInfo
public static class ConstantInfo.ConstantString 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 intstring_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
-
-
Constructor Summary
Constructors Constructor Description ConstantString(int string_index)ConstantString(java.io.DataInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetString_index()inthashCode()protected voidinitialize(java.io.DataInput in)java.lang.StringtoString()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
-
getString_index
public int getString_index()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-