public class TopValue extends Category1Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
Constructor and Description |
---|
TopValue() |
Modifier and Type | Method and Description |
---|---|
int |
computationalType()
Returns the computational type of this Value.
|
boolean |
equals(java.lang.Object object) |
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 |
isParticular()
Returns whether this Value represents a single particular (known) value.
|
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly unknown) value.
|
java.lang.String |
toString() |
category1Value, isCategory2
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue, referenceValue
public boolean isSpecific()
Value
isSpecific
in class Value
public boolean isParticular()
Value
isParticular
in class Value
public final Value generalize(Value other)
Value
generalize
in class Value
public final int computationalType()
Value
computationalType
in class Value
TYPE_INTEGER
, TYPE_LONG
, TYPE_FLOAT
,
TYPE_DOUBLE
, TYPE_REFERENCE
, or TYPE_INSTRUCTION_OFFSET
.public final 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 boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object