Package org.openjdk.asmtools.jasm
Class ConstantPool.ConstValue_String
- java.lang.Object
-
- org.openjdk.asmtools.jasm.ConstantPool.ConstValue
-
- org.openjdk.asmtools.jasm.ConstantPool.ConstValue_String
-
- Enclosing class:
- ConstantPool
public static class ConstantPool.ConstValue_String extends ConstantPool.ConstValue
ConstValue A (typed) tagged value in the constant pool.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringvalue-
Fields inherited from class org.openjdk.asmtools.jasm.ConstantPool.ConstValue
isSet, tag
-
-
Constructor Summary
Constructors Constructor Description ConstValue_String(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int_hashCode()protected java.lang.String_toString()booleanequals(java.lang.Object obj)Compares this object to the specified object.voidwrite(CheckedDataOutputStream out)-
Methods inherited from class org.openjdk.asmtools.jasm.ConstantPool.ConstValue
hashCode, hasValue, size, toString
-
-
-
-
Method Detail
-
_toString
protected java.lang.String _toString()
- Overrides:
_toStringin classConstantPool.ConstValue
-
_hashCode
protected int _hashCode()
- Overrides:
_hashCodein classConstantPool.ConstValue
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:ConstantPool.ConstValueCompares this object to the specified object. Sub-classes must override this- Overrides:
equalsin classConstantPool.ConstValue- Parameters:
obj- the object to compare with- Returns:
- true if the objects are the same; false otherwise.
-
write
public void write(CheckedDataOutputStream out) throws java.io.IOException
- Overrides:
writein classConstantPool.ConstValue- Throws:
java.io.IOException
-
-