类 TracedReferenceValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.ReferenceValue
-
- proguard.evaluation.value.TracedReferenceValue
-
public class TracedReferenceValue extends ReferenceValue
ThisReferenceValuerepresents a reference value that is tagged with a trace value.
-
-
字段概要
-
从类继承的字段 proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
-
-
构造器概要
构造器 构造器 说明 TracedReferenceValue(ReferenceValue referenceValue, Value traceValue)TracedReferenceValue(ReferenceValue referenceValue, Value traceValue, int initialized)Creates a new reference value with the given ID.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 IntegerValuearrayLength(ValueFactory valueFactory)Returns the length of the array, assuming this type is an array.voidarrayStore(IntegerValue indexValue, Value value)Stores the given value at the given index in the given array, assuming this type is an array.ReferenceValuecast(java.lang.String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast)Returns this ReferenceValue, cast to the given type.DoubleValuedoubleArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an double array.intequal(ArrayReferenceValue other)Returns whether this ReferenceValue is equal to the given other ArrayReferenceValue.intequal(DetailedArrayReferenceValue other)Returns whether this ReferenceValue is equal to the given other DetailedArrayReferenceValue.intequal(IdentifiedArrayReferenceValue other)Returns whether this ReferenceValue is equal to the given other IdentifiedArrayReferenceValue.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.intequal(TracedReferenceValue other)Returns whether this ReferenceValue is equal to the given other TracedReferenceValue.intequal(TypedReferenceValue other)Returns whether this ReferenceValue is equal to the given other TypedReferenceValue.intequal(UnknownReferenceValue other)Returns whether this ReferenceValue is equal to the given other UnknownReferenceValue.booleanequals(java.lang.Object object)FloatValuefloatArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an float array.ReferenceValuegeneralize(ArrayReferenceValue other)Returns the generalization of this ReferenceValue and the given other ArrayReferenceValue.ReferenceValuegeneralize(DetailedArrayReferenceValue other)Returns the generalization of this ReferenceValue and the given other DetailedArrayReferenceValue.ReferenceValuegeneralize(IdentifiedArrayReferenceValue other)Returns the generalization of this ReferenceValue and the given other IdentifiedArrayReferenceValue.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.ReferenceValuegeneralize(TracedReferenceValue other)Returns the generalization of this ReferenceValue and the given other TracedReferenceValue.ReferenceValuegeneralize(TypedReferenceValue other)Returns the generalization of this ReferenceValue and the given other TypedReferenceValue.ReferenceValuegeneralize(UnknownReferenceValue other)Returns the generalization of this ReferenceValue and the given other UnknownReferenceValue.ClazzgetReferencedClass()Returns the class that is referenced by the type.ReferenceValuegetReferenceValue()Returns the reference value.ValuegetTraceValue()Returns the trace value.java.lang.StringgetType()Returns the type.inthashCode()intinstanceOf(java.lang.String otherType, Clazz otherReferencedClass)Returns whether the type is an instance of the given type.IntegerValueintegerArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an integer array.java.lang.StringinternalType()Returns the internal type of this Value.intisInitialized()Returns whether the reference is initialized.intisNull()Returns whether this ReferenceValue isnull.booleanisParticular()Returns whether this Value represents a single particular (known) value.booleanisSpecific()Returns whether this Value represents a single specific (but possibly unknown) value.LongValuelongArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an long array.booleanmayBeExtension()Returns whether the actual type of this ReferenceValue may be an extension of its type.ReferenceValuereferenceArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is a reference array.java.lang.StringtoString()-
从类继承的方法 proguard.evaluation.value.ReferenceValue
computationalType, equal, equal, generalize, generalize, generalize, getValue, isNotNull, notEqual, referenceValue, value
-
从类继承的方法 proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
从类继承的方法 proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue
-
-
-
-
构造器详细资料
-
TracedReferenceValue
public TracedReferenceValue(ReferenceValue referenceValue, Value traceValue)
-
TracedReferenceValue
public TracedReferenceValue(ReferenceValue referenceValue, Value traceValue, int initialized)
Creates a new reference value with the given ID.
-
-
方法详细资料
-
getReferenceValue
public ReferenceValue getReferenceValue()
Returns the reference value.
-
getTraceValue
public Value getTraceValue()
Returns the trace value.
-
isInitialized
public int isInitialized()
Returns whether the reference is initialized.- 返回:
NEVER,MAYBE, orALWAYS.
-
getType
public java.lang.String getType()
从类复制的说明:ReferenceValueReturns the type.- 指定者:
getType在类中ReferenceValue
-
getReferencedClass
public Clazz getReferencedClass()
从类复制的说明:ReferenceValueReturns the class that is referenced by the type.- 指定者:
getReferencedClass在类中ReferenceValue
-
mayBeExtension
public boolean mayBeExtension()
从类复制的说明:ReferenceValueReturns whether the actual type of this ReferenceValue may be an extension of its type.- 指定者:
mayBeExtension在类中ReferenceValue
-
isNull
public int isNull()
从类复制的说明:ReferenceValueReturns whether this ReferenceValue isnull.- 指定者:
isNull在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
instanceOf
public int instanceOf(java.lang.String otherType, Clazz otherReferencedClass)从类复制的说明:ReferenceValueReturns whether the type is an instance of the given type.- 指定者:
instanceOf在类中ReferenceValue
-
cast
public ReferenceValue cast(java.lang.String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast)
从类复制的说明:ReferenceValueReturns this ReferenceValue, cast to the given type.- 指定者:
cast在类中ReferenceValue
-
arrayLength
public IntegerValue arrayLength(ValueFactory valueFactory)
从类复制的说明:ReferenceValueReturns the length of the array, assuming this type is an array.- 覆盖:
arrayLength在类中ReferenceValue
-
integerArrayLoad
public IntegerValue integerArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)
从类复制的说明:ReferenceValueReturns the value of the array at the given index, assuming this type is an integer array.- 覆盖:
integerArrayLoad在类中ReferenceValue
-
longArrayLoad
public LongValue longArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)
从类复制的说明:ReferenceValueReturns the value of the array at the given index, assuming this type is an long array.- 覆盖:
longArrayLoad在类中ReferenceValue
-
floatArrayLoad
public FloatValue floatArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)
从类复制的说明:ReferenceValueReturns the value of the array at the given index, assuming this type is an float array.- 覆盖:
floatArrayLoad在类中ReferenceValue
-
doubleArrayLoad
public DoubleValue doubleArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)
从类复制的说明:ReferenceValueReturns the value of the array at the given index, assuming this type is an double array.- 覆盖:
doubleArrayLoad在类中ReferenceValue
-
referenceArrayLoad
public ReferenceValue referenceArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)
从类复制的说明:ReferenceValueReturns the value of the array at the given index, assuming this type is a reference array.- 覆盖:
referenceArrayLoad在类中ReferenceValue
-
arrayStore
public void arrayStore(IntegerValue indexValue, Value value)
从类复制的说明:ReferenceValueStores the given value at the given index in the given array, assuming this type is an array.- 覆盖:
arrayStore在类中ReferenceValue
-
generalize
public ReferenceValue generalize(ReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other ReferenceValue.- 指定者:
generalize在类中ReferenceValue
-
equal
public int equal(ReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other ReferenceValue.- 指定者:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(UnknownReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other UnknownReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(UnknownReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other UnknownReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(TypedReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other TypedReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(TypedReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other TypedReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(IdentifiedReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other IdentifiedReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(IdentifiedReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other IdentifiedReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(ArrayReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other ArrayReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(ArrayReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other ArrayReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(IdentifiedArrayReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other IdentifiedArrayReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(IdentifiedArrayReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other IdentifiedArrayReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(DetailedArrayReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other DetailedArrayReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(DetailedArrayReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other DetailedArrayReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
generalize
public ReferenceValue generalize(TracedReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other TracedReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
equal
public int equal(TracedReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other TracedReferenceValue.- 覆盖:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
isSpecific
public boolean isSpecific()
从类复制的说明:ValueReturns whether this Value represents a single specific (but possibly unknown) value.- 覆盖:
isSpecific在类中Value
-
isParticular
public boolean isParticular()
从类复制的说明:ValueReturns whether this Value represents a single particular (known) value.- 覆盖:
isParticular在类中Value
-
internalType
public java.lang.String internalType()
从类复制的说明:ValueReturns the internal type of this Value.- 指定者:
internalType在类中Value- 返回:
TypeConstants.BOOLEAN,TypeConstants.BYTE,TypeConstants.CHAR,TypeConstants.SHORT,TypeConstants.INT,TypeConstants.LONG,TypeConstants.FLOAT,TypeConstants.DOUBLE,TypeConstants.CLASS_START ... TypeConstants.CLASS_END, or an array type containing any of these types (always as String).
-
equals
public boolean equals(java.lang.Object object)
- 覆盖:
equals在类中ReferenceValue
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中ReferenceValue
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中ReferenceValue
-
-