public class IdentifiedReferenceValue extends TypedReferenceValue
ReferenceValue represents a reference value that is identified by a
unique ID.mayBeExtension, mayBeNull, referencedClass, typeALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP| Constructor and Description |
|---|
IdentifiedReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
ValueFactory valuefactory,
int id)
Creates a new reference value with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
equal(IdentifiedReferenceValue other)
Returns whether this ReferenceValue is equal to the given other
IdentifiedReferenceValue.
|
int |
equal(ReferenceValue other)
Returns whether this ReferenceValue is equal to the given other
ReferenceValue.
|
boolean |
equals(java.lang.Object object) |
ReferenceValue |
generalize(ReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
ReferenceValue.
|
int |
hashCode() |
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly
unknown) value.
|
java.lang.String |
toString() |
cast, equal, generalize, generalizeMayBeNull, getReferencedClass, getType, instanceOf, internalType, isNull, isParticular, mayBeExtension, referenceArrayLoadarrayLength, arrayStore, computationalType, doubleArrayLoad, equal, equal, equal, equal, equal, equal, equal, floatArrayLoad, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, integerArrayLoad, isNotNull, longArrayLoad, notEqual, referenceValue, valuecategory1Value, isCategory2category2Value, doubleValue, floatValue, instructionOffsetValue, integerValue, longValuepublic IdentifiedReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
ValueFactory valuefactory,
int id)
public ReferenceValue generalize(ReferenceValue other)
ReferenceValuegeneralize in class TypedReferenceValuepublic int equal(ReferenceValue other)
ReferenceValueequal in class TypedReferenceValueNEVER, MAYBE, or ALWAYS.public int equal(IdentifiedReferenceValue other)
ReferenceValueequal in class ReferenceValueNEVER, MAYBE, or ALWAYS.public boolean isSpecific()
ValueisSpecific in class Valuepublic boolean equals(java.lang.Object object)
equals in class TypedReferenceValuepublic int hashCode()
hashCode in class TypedReferenceValuepublic java.lang.String toString()
toString in class TypedReferenceValue