Package org.openjdk.asmtools.jasm
Class ConstantPool.ConstValue
java.lang.Object
org.openjdk.asmtools.jasm.ConstantPool.ConstValue
- Direct Known Subclasses:
ConstantPool.ConstValue_Cell
,ConstantPool.ConstValue_IndyOrCondyPair
,ConstantPool.ConstValue_Integer
,ConstantPool.ConstValue_Long
,ConstantPool.ConstValue_Pair
,ConstantPool.ConstValue_String
,ConstantPool.ConstValue_Zero
- Enclosing class:
- ConstantPool
ConstValue
A (typed) tagged value in the constant pool.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tag
-
isSet
protected boolean isSet -
visited
private boolean visited
-
-
Constructor Details
-
ConstValue
-
-
Method Details
-
size
public int size() -
hasValue
public boolean hasValue() -
hashCode
public int hashCode()Compute the hash-code, based on the value of the native (_hashCode()) hashcode. -
_hashCode
protected int _hashCode() -
equals
Compares this object to the specified object. Sub-classes must override this -
toString
-
_toString
-
write
- Throws:
IOException
-