Package proguard.evaluation.value
Class IdentifiedReferenceValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.ReferenceValue
-
- proguard.evaluation.value.TypedReferenceValue
-
- proguard.evaluation.value.IdentifiedReferenceValue
-
- Direct Known Subclasses:
ParticularReferenceValue
public class IdentifiedReferenceValue extends TypedReferenceValue
ThisReferenceValuerepresents a reference value that is identified by a unique ID.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Objectid-
Fields inherited from class proguard.evaluation.value.TypedReferenceValue
ALLOW_INCOMPLETE_CLASS_HIERARCHY, INCOMPLETE_CLASS_HIERARCHY, mayBeExtension, mayBeNull, referencedClass, type, WARN_INCOMPLETE_CLASS_HIERARCHY
-
Fields 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
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intequal(IdentifiedReferenceValue other)Returns whether this ReferenceValue is equal to the given other IdentifiedReferenceValue.intequal(ReferenceValue other)Returns whether this ReferenceValue is equal to the given other ReferenceValue.booleanequals(java.lang.Object object)ReferenceValuegeneralize(IdentifiedReferenceValue other)Returns the generalization of this ReferenceValue and the given other IdentifiedReferenceValue.ReferenceValuegeneralize(ReferenceValue other)Returns the generalization of this ReferenceValue and the given other ReferenceValue.inthashCode()booleanisSpecific()Returns whether this Value represents a single specific (but possibly unknown) value.java.lang.StringtoString()-
Methods inherited from class proguard.evaluation.value.TypedReferenceValue
allowsIncompleteClassHierarchy, arrayStore, cast, doubleArrayLoad, equal, floatArrayLoad, generalize, generalizeMayBeNull, getReferencedClass, getType, instanceOf, integerArrayLoad, internalType, isNull, isParticular, longArrayLoad, mayBeExtension, referenceArrayLoad
-
Methods inherited from class proguard.evaluation.value.ReferenceValue
arrayLength, computationalType, equal, equal, equal, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, getValue, isNotNull, notEqual, referenceValue, value
-
Methods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue
-
-
-
-
Constructor Detail
-
IdentifiedReferenceValue
public 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.
-
-
Method Detail
-
generalize
public ReferenceValue generalize(ReferenceValue other)
Description copied from class:ReferenceValueReturns the generalization of this ReferenceValue and the given other ReferenceValue.- Overrides:
generalizein classTypedReferenceValue
-
equal
public int equal(ReferenceValue other)
Description copied from class:ReferenceValueReturns whether this ReferenceValue is equal to the given other ReferenceValue.- Overrides:
equalin classTypedReferenceValue- Returns:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(IdentifiedReferenceValue other)
Description copied from class:ReferenceValueReturns the generalization of this ReferenceValue and the given other IdentifiedReferenceValue.- Overrides:
generalizein classReferenceValue
-
equal
public int equal(IdentifiedReferenceValue other)
Description copied from class:ReferenceValueReturns whether this ReferenceValue is equal to the given other IdentifiedReferenceValue.- 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
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classTypedReferenceValue
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTypedReferenceValue
-
toString
public java.lang.String toString()
- Overrides:
toStringin classTypedReferenceValue
-
-