public class UnknownValue extends Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
Modifier and Type | Method and Description |
---|---|
int |
computationalType()
Returns the computational type of this Value.
|
boolean |
equals(java.lang.Object o) |
Value |
generalize(Value other)
Returns the generalization of this Value and the given other Value.
|
int |
hashCode() |
java.lang.String |
internalType()
Returns the internal type of this Value.
|
boolean |
isCategory2()
Returns whether the computational type of this Value is a category 2 type.
|
java.lang.String |
toString() |
category1Value, category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, isSpecific, longValue, referenceValue
public Value generalize(Value other)
Value
generalize
in class Value
public boolean isCategory2()
Value
isCategory2
in class Value
public int computationalType()
Value
computationalType
in class Value
TYPE_INTEGER
, TYPE_LONG
, TYPE_FLOAT
,
TYPE_DOUBLE
, TYPE_REFERENCE
, or TYPE_INSTRUCTION_OFFSET
.public java.lang.String internalType()
Value
internalType
in class Value
TypeConstants.BOOLEAN
, TypeConstants.BYTE
,
TypeConstants.CHAR
, TypeConstants.SHORT
, TypeConstants.INT
, TypeConstants.LONG
, TypeConstants.FLOAT
,
TypeConstants.DOUBLE
, TypeConstants.CLASS_START ... TypeConstants.CLASS_END
, or an array type containing any of these types (always as String).public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object