Package proguard.evaluation.value
Class IdentifiedArrayReferenceValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.Category1Value
proguard.evaluation.value.ReferenceValue
proguard.evaluation.value.TypedReferenceValue
proguard.evaluation.value.ArrayReferenceValue
proguard.evaluation.value.IdentifiedArrayReferenceValue
- Direct Known Subclasses:
DetailedArrayReferenceValue
This
ArrayReferenceValue represents an array reference value that is identified by a
unique ID.-
Field Summary
FieldsFields inherited from class proguard.evaluation.value.ArrayReferenceValue
arrayLengthFields inherited from class proguard.evaluation.value.TypedReferenceValue
ALLOW_INCOMPLETE_CLASS_HIERARCHY, INCOMPLETE_CLASS_HIERARCHY, mayBeExtension, mayBeNull, referencedClass, type, WARN_INCOMPLETE_CLASS_HIERARCHYFields inherited from class proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionIdentifiedArrayReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, IntegerValue arrayLength, ValueFactory valuefactory, int id) Creates a new array reference value with the given ID. -
Method Summary
Modifier and TypeMethodDescriptionintReturns whether this ReferenceValue is equal to the given other IdentifiedArrayReferenceValue.intequal(ReferenceValue other) Returns whether this ReferenceValue is equal to the given other ReferenceValue.booleanReturns the generalization of this ReferenceValue and the given other IdentifiedArrayReferenceValue.generalize(ReferenceValue other) Returns the generalization of this ReferenceValue and the given other ReferenceValue.inthashCode()booleanReturns whether this Value represents a single specific (but possibly unknown) value.toString()Methods inherited from class proguard.evaluation.value.ArrayReferenceValue
arrayLength, equal, generalizeMethods inherited from class proguard.evaluation.value.TypedReferenceValue
allowsIncompleteClassHierarchy, arrayStore, cast, doubleArrayLoad, equal, floatArrayLoad, generalize, generalizeMayBeNull, getReferencedClass, getType, instanceOf, integerArrayLoad, internalType, isNull, isParticular, longArrayLoad, mayBeExtension, referenceArrayLoadMethods inherited from class proguard.evaluation.value.ReferenceValue
computationalType, equal, equal, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, generalize, generalize, getValue, isNotNull, notEqual, referenceValue, valueMethods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue
-
Field Details
-
valuefactory
-
id
public final int id
-
-
Constructor Details
-
IdentifiedArrayReferenceValue
public IdentifiedArrayReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, IntegerValue arrayLength, ValueFactory valuefactory, int id) Creates a new array reference value with the given ID.
-
-
Method Details
-
generalize
Description copied from class:ReferenceValueReturns the generalization of this ReferenceValue and the given other ReferenceValue.- Overrides:
generalizein classArrayReferenceValue
-
equal
Description copied from class:ReferenceValueReturns whether this ReferenceValue is equal to the given other ReferenceValue.- Overrides:
equalin classArrayReferenceValue- Returns:
NEVER,MAYBE, orALWAYS.
-
generalize
Description copied from class:ReferenceValueReturns the generalization of this ReferenceValue and the given other IdentifiedArrayReferenceValue.- Overrides:
generalizein classReferenceValue
-
equal
Description copied from class:ReferenceValueReturns whether this ReferenceValue is equal to the given other IdentifiedArrayReferenceValue.- Overrides:
equalin classReferenceValue- Returns:
NEVER,MAYBE, orALWAYS.
-
isSpecific
public boolean isSpecific()Description copied from class:ValueReturns whether this Value represents a single specific (but possibly unknown) value.- Overrides:
isSpecificin classValue
-
equals
- Overrides:
equalsin classArrayReferenceValue
-
hashCode
public int hashCode()- Overrides:
hashCodein classArrayReferenceValue
-
toString
- Overrides:
toStringin classArrayReferenceValue
-