类 DetailedArrayReferenceValue
- 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
-
- proguard.evaluation.value.DetailedArrayReferenceValue
-
public class DetailedArrayReferenceValue extends IdentifiedArrayReferenceValue
ThisIdentifiedArrayReferenceValuerepresents an identified array reference value with its elements.
-
-
字段概要
-
从类继承的字段 proguard.evaluation.value.IdentifiedArrayReferenceValue
id, valuefactory
-
从类继承的字段 proguard.evaluation.value.ArrayReferenceValue
arrayLength
-
从类继承的字段 proguard.evaluation.value.TypedReferenceValue
ALLOW_INCOMPLETE_CLASS_HIERARCHY, INCOMPLETE_CLASS_HIERARCHY, mayBeExtension, mayBeNull, referencedClass, type, WARN_INCOMPLETE_CLASS_HIERARCHY
-
从类继承的字段 proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 voidarrayStore(IntegerValue indexValue, Value value)Stores the given value at the given index in the given array, assuming this type is an array.DetailedArrayReferenceValuecopyIfMutable()Creates a deep copy of the DetailedArrayReferenceValue.static java.util.Optional<DetailedArrayReferenceValue>create(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, IntegerValue arrayLength, ValueFactory valuefactory, int id)If possible it will create a new array reference value with the given ID, otherwise an empty optional is returnedDoubleValuedoubleArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an double array.intequal(ReferenceValue other)Returns whether this ReferenceValue is equal to the given other ReferenceValue.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(ReferenceValue other)Returns the generalization of this ReferenceValue and the given other ReferenceValue.@NotNull AnalyzedObjectgetValue()inthashCode()IntegerValueintegerArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an integer array.booleanisParticular()Returns whether this Value represents a single particular (known) value.LongValuelongArrayLoad(IntegerValue indexValue, ValueFactory valueFactory)Returns the value of the array at the given index, assuming this type is an long array.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()java.lang.Objectvalue()已过时。-
从类继承的方法 proguard.evaluation.value.IdentifiedArrayReferenceValue
equal, generalize, isSpecific
-
从类继承的方法 proguard.evaluation.value.ArrayReferenceValue
arrayLength, equal, generalize
-
从类继承的方法 proguard.evaluation.value.TypedReferenceValue
allowsIncompleteClassHierarchy, cast, equal, generalize, generalizeMayBeNull, getReferencedClass, getType, instanceOf, internalType, isNull, mayBeExtension
-
从类继承的方法 proguard.evaluation.value.ReferenceValue
computationalType, equal, equal, equal, equal, equal, equal, generalize, generalize, generalize, generalize, generalize, generalize, generalize, isNotNull, notEqual, referenceValue
-
从类继承的方法 proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
从类继承的方法 proguard.evaluation.value.Value
category2Value, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue
-
-
-
-
方法详细资料
-
value
@Deprecated public java.lang.Object value()
已过时。Deprecated, usegetValue().- 覆盖:
value在类中ReferenceValue
-
getValue
@NotNull public @NotNull AnalyzedObject getValue()
- 覆盖:
getValue在类中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在类中TypedReferenceValue
-
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在类中TypedReferenceValue
-
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在类中TypedReferenceValue
-
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在类中TypedReferenceValue
-
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.
-
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在类中TypedReferenceValue
-
generalize
public ReferenceValue generalize(ReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other ReferenceValue.
-
equal
public int equal(ReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other ReferenceValue.- 覆盖:
equal在类中IdentifiedArrayReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
isParticular
public boolean isParticular()
从类复制的说明:ValueReturns whether this Value represents a single particular (known) value.- 覆盖:
isParticular在类中TypedReferenceValue
-
copyIfMutable
public DetailedArrayReferenceValue copyIfMutable()
Creates a deep copy of the DetailedArrayReferenceValue.- 覆盖:
copyIfMutable在类中Value
-
equals
public boolean equals(java.lang.Object object)
- 覆盖:
equals在类中IdentifiedArrayReferenceValue
-
hashCode
public int hashCode()
-
toString
public java.lang.String toString()
-
create
public static java.util.Optional<DetailedArrayReferenceValue> create(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, IntegerValue arrayLength, ValueFactory valuefactory, int id)
If possible it will create a new array reference value with the given ID, otherwise an empty optional is returned
-
-