类 ParticularReferenceValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.Category1Value
proguard.evaluation.value.ReferenceValue
proguard.evaluation.value.TypedReferenceValue
proguard.evaluation.value.IdentifiedReferenceValue
proguard.evaluation.value.ParticularReferenceValue
This
ParticularReferenceValue represents a particular reference value, i.e. a reference
with an associated value. E.g., a String with the value "HelloWorld".-
字段概要
字段从类继承的字段 proguard.evaluation.value.IdentifiedReferenceValue
id从类继承的字段 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 -
构造器概要
构造器构造器说明ParticularReferenceValue(Clazz referencedClass, ValueFactory valueFactory, Object referenceID, @NotNull AnalyzedObject value) Create a new Instance with the given type, the class it is referenced in, and its actual value. -
方法概要
修饰符和类型方法说明cast(String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast) Returns this ReferenceValue, cast to the given type.intequal(ReferenceValue other) Returns whether this ReferenceValue is equal to the given other ReferenceValue.booleanReturns the generalization of this ReferenceValue and the given other ParticularReferenceValue.generalize(ReferenceValue other) Returns the generalization of this ReferenceValue and the given other ReferenceValue.@NotNull AnalyzedObjectgetValue()inthashCode()intinstanceOf(String otherType, Clazz otherReferencedClass) Returns whether the type is an instance of the given type.intisNull()Returns whether this ReferenceValue isnull.booleanReturns whether this Value represents a single particular (known) value.toString()value()已过时。从类继承的方法 proguard.evaluation.value.IdentifiedReferenceValue
equal, generalize, isSpecific从类继承的方法 proguard.evaluation.value.TypedReferenceValue
allowsIncompleteClassHierarchy, arrayStore, doubleArrayLoad, equal, floatArrayLoad, generalize, generalizeMayBeNull, getReferencedClass, getType, integerArrayLoad, internalType, longArrayLoad, mayBeExtension, referenceArrayLoad从类继承的方法 proguard.evaluation.value.ReferenceValue
arrayLength, computationalType, equal, 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, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue
-
字段详细资料
-
ARRAY_EXCEPTIONS
public static boolean ARRAY_EXCEPTIONS
-
-
构造器详细资料
-
ParticularReferenceValue
public ParticularReferenceValue(Clazz referencedClass, ValueFactory valueFactory, Object referenceID, @NotNull @NotNull AnalyzedObject value) Create a new Instance with the given type, the class it is referenced in, and its actual value.
-
-
方法详细资料
-
value
已过时。Deprecated, usegetValue().- 覆盖:
value在类中ReferenceValue
-
getValue
- 覆盖:
getValue在类中ReferenceValue
-
isParticular
public boolean isParticular()从类复制的说明:ValueReturns whether this Value represents a single particular (known) value.- 覆盖:
isParticular在类中TypedReferenceValue
-
isNull
public int isNull()从类复制的说明:ReferenceValueReturns whether this ReferenceValue isnull.- 覆盖:
isNull在类中TypedReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
instanceOf
从类复制的说明:ReferenceValueReturns whether the type is an instance of the given type.- 覆盖:
instanceOf在类中TypedReferenceValue
-
cast
public ReferenceValue cast(String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast) 从类复制的说明:ReferenceValueReturns this ReferenceValue, cast to the given type.- 覆盖:
cast在类中TypedReferenceValue
-
generalize
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other ReferenceValue.- 覆盖:
generalize在类中IdentifiedReferenceValue
-
generalize
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other ParticularReferenceValue.- 覆盖:
generalize在类中ReferenceValue
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中IdentifiedReferenceValue
-
equals
- 覆盖:
equals在类中IdentifiedReferenceValue
-
equal
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other ReferenceValue.- 覆盖:
equal在类中IdentifiedReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
toString
- 覆盖:
toString在类中IdentifiedReferenceValue
-