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, isCategory2category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue, referenceValuepublic boolean isSpecific()
ValueisSpecific in class Valuepublic boolean isParticular()
ValueisParticular in class Valuepublic final Value generalize(Value other)
Valuegeneralize in class Valuepublic final int computationalType()
ValuecomputationalType in class ValueTYPE_INTEGER, TYPE_LONG, TYPE_FLOAT,
TYPE_DOUBLE, TYPE_REFERENCE, or TYPE_INSTRUCTION_OFFSET.public final java.lang.String internalType()
ValueinternalType in class ValueTypeConstants.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object