public class IdentifiedArrayReferenceValue extends ArrayReferenceValue
ArrayReferenceValue
represents an array reference value that is identified by a
unique ID.Modifier and Type | Field and Description |
---|---|
int |
id |
protected ValueFactory |
valuefactory |
arrayLength
ALLOW_INCOMPLETE_CLASS_HIERARCHY, INCOMPLETE_CLASS_HIERARCHY, mayBeExtension, mayBeNull, referencedClass, type, WARN_INCOMPLETE_CLASS_HIERARCHY
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
Constructor and Description |
---|
IdentifiedArrayReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
IntegerValue arrayLength,
ValueFactory valuefactory,
int id)
Creates a new array reference value with the given ID.
|
Modifier and Type | Method and Description |
---|---|
int |
equal(IdentifiedArrayReferenceValue other)
Returns whether this ReferenceValue is equal to the given other IdentifiedArrayReferenceValue.
|
int |
equal(ReferenceValue other)
Returns whether this ReferenceValue is equal to the given other ReferenceValue.
|
boolean |
equals(java.lang.Object object) |
ReferenceValue |
generalize(IdentifiedArrayReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
IdentifiedArrayReferenceValue.
|
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() |
arrayLength, equal, generalize
allowsIncompleteClassHierarchy, arrayStore, cast, doubleArrayLoad, equal, floatArrayLoad, generalize, generalizeMayBeNull, getReferencedClass, getType, instanceOf, integerArrayLoad, internalType, isNull, isParticular, longArrayLoad, mayBeExtension, referenceArrayLoad
computationalType, equal, equal, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, generalize, generalize, getValue, isNotNull, notEqual, referenceValue, value
category1Value, isCategory2
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue
protected final ValueFactory valuefactory
public final int id
public IdentifiedArrayReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, IntegerValue arrayLength, ValueFactory valuefactory, int id)
public ReferenceValue generalize(ReferenceValue other)
ReferenceValue
generalize
in class ArrayReferenceValue
public int equal(ReferenceValue other)
ReferenceValue
equal
in class ArrayReferenceValue
NEVER
, MAYBE
, or ALWAYS
.public ReferenceValue generalize(IdentifiedArrayReferenceValue other)
ReferenceValue
generalize
in class ReferenceValue
public int equal(IdentifiedArrayReferenceValue other)
ReferenceValue
equal
in class ReferenceValue
NEVER
, MAYBE
, or ALWAYS
.public boolean isSpecific()
Value
isSpecific
in class Value
public boolean equals(java.lang.Object object)
equals
in class ArrayReferenceValue
public int hashCode()
hashCode
in class ArrayReferenceValue
public java.lang.String toString()
toString
in class ArrayReferenceValue