public class IdentifiedReferenceValue extends TypedReferenceValue
ReferenceValue represents a reference value that is identified by a
unique ID.| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
id |
mayBeExtension, mayBeNull, referencedClass, typeALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN| Constructor and Description |
|---|
IdentifiedReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
ValueFactory valuefactory,
java.lang.Object 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(IdentifiedReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
IdentifiedReferenceValue.
|
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() |
allowsIncompleteClassHierarchy, arrayStore, cast, doubleArrayLoad, equal, floatArrayLoad, generalize, generalizeMayBeNull, getReferencedClass, getType, instanceOf, integerArrayLoad, internalType, isNull, isParticular, longArrayLoad, mayBeExtension, referenceArrayLoadarrayLength, computationalType, equal, equal, equal, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, isNotNull, notEqual, referenceValue, valuecategory1Value, isCategory2category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValuepublic IdentifiedReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
ValueFactory valuefactory,
java.lang.Object id)
public ReferenceValue generalize(ReferenceValue other)
ReferenceValuegeneralize in class TypedReferenceValuepublic int equal(ReferenceValue other)
ReferenceValueequal in class TypedReferenceValueNEVER, MAYBE, or ALWAYS.public ReferenceValue generalize(IdentifiedReferenceValue other)
ReferenceValuegeneralize in class ReferenceValuepublic 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