类 ParticularReferenceValueFactory
java.lang.Object
proguard.evaluation.value.BasicValueFactory
proguard.evaluation.value.TypedReferenceValueFactory
proguard.evaluation.ParticularReferenceValueFactory
- 所有已实现的接口:
ValueFactory
- 直接已知子类:
JvmCfaReferenceValueFactory
This
TypedReferenceValueFactory creates reference values that also represent their
content.
Like IdentifiedValueFactory, it tracks IdentifiedReferenceValues with a unique
integer ID.
Calling a `createReferenceValue` method will increment the internal referencedID counter and
return an object representing that Value with that new referenceID.
Calling a `createReferenceForId` method will return an object representing that Value
with the specified ID.
-
字段概要
从类继承的字段 proguard.evaluation.value.BasicValueFactory
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull) Creates a new ReferenceValue that represents the given type.createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object value) 已过时。createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, CodeLocation creationLocation) Creates a new ReferenceValue that represents the given type, created at the specified code location.createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset) 已过时。createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset, Object value) 已过时。createReferenceValue(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, @NotNull AnalyzedObject value) Creates a new ReferenceValue that represents the given type.createReferenceValue(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, CodeLocation creationLocation, @NotNull AnalyzedObject value) Creates a new ReferenceValue that represents the given type, created at the specified code location.createReferenceValueForId(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object id) Creates a new ReferenceValue that represents the given type with a specified ID.createReferenceValueForId(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object id, Object value) 已过时。createReferenceValueForId(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object id, @NotNull AnalyzedObject value) Creates a new ReferenceValue that represents the given type with a specified ID.从类继承的方法 proguard.evaluation.value.TypedReferenceValueFactory
createArrayReferenceValue, createArrayReferenceValue, createReferenceValueNull从类继承的方法 proguard.evaluation.value.BasicValueFactory
checkCreationLocation, checkReferenceValue, createDoubleValue, createDoubleValue, createFloatValue, createFloatValue, createIntegerValue, createIntegerValue, createIntegerValue, createLongValue, createLongValue, createReferenceValue, createValue从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.evaluation.value.ValueFactory
createReferenceValue, createReferenceValue, createReferenceValue
-
构造器详细资料
-
ParticularReferenceValueFactory
public ParticularReferenceValueFactory()
-
-
方法详细资料
-
createReferenceValue
@Deprecated public ReferenceValue createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset) 已过时。- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValue
public ReferenceValue createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, CodeLocation creationLocation) 从接口复制的说明:ValueFactoryCreates a new ReferenceValue that represents the given type, created at the specified code location. The type must be an internal class name or an array type. If the type isnull, the ReferenceValue representsnull.- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValue
@Deprecated public ReferenceValue createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset, Object value) 已过时。- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValue
public ReferenceValue createReferenceValue(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, CodeLocation creationLocation, @NotNull @NotNull AnalyzedObject value) 从接口复制的说明:ValueFactoryCreates a new ReferenceValue that represents the given type, created at the specified code location. The type must be an internal class name or an array type. If the type isnull, the ReferenceValue representsnull.The object wrapped by
AnalyzedObjectis either the value of the reference during execution or aModelof it.- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValue
public ReferenceValue createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull) 从接口复制的说明:ValueFactoryCreates a new ReferenceValue that represents the given type. The type must be an internal class name or an array type. If the type isnull, the ReferenceValue representsnull.- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中TypedReferenceValueFactory
-
createReferenceValue
@Deprecated public ReferenceValue createReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object value) 已过时。Deprecated, usecreateReferenceValue(Clazz, boolean, boolean, AnalyzedObject).- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValue
public ReferenceValue createReferenceValue(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, @NotNull @NotNull AnalyzedObject value) 从接口复制的说明:ValueFactoryCreates a new ReferenceValue that represents the given type. The type must be an internal class name or an array type. If the type isnull, the ReferenceValue representsnull.The object wrapped by
AnalyzedObjectis either the value of the reference during execution or aModelof it.- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValueForId
public ReferenceValue createReferenceValueForId(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object id) 从接口复制的说明:ValueFactoryCreates a new ReferenceValue that represents the given type with a specified ID. The type must be an internal class name or an array type. If the type isnull, the ReferenceValue representsnull.- 指定者:
createReferenceValueForId在接口中ValueFactory- 覆盖:
createReferenceValueForId在类中BasicValueFactory
-
createReferenceValueForId
@Deprecated public ReferenceValue createReferenceValueForId(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object id, Object value) 已过时。- 指定者:
createReferenceValueForId在接口中ValueFactory- 覆盖:
createReferenceValueForId在类中BasicValueFactory
-
createReferenceValueForId
public ReferenceValue createReferenceValueForId(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Object id, @NotNull @NotNull AnalyzedObject value) 从接口复制的说明:ValueFactoryCreates a new ReferenceValue that represents the given type with a specified ID. The type must be an internal class name or an array type. If the type isnull, the ReferenceValue representsnull.The object wrapped by
AnalyzedObjectis either the value of the reference during execution or aModelof it.- 指定者:
createReferenceValueForId在接口中ValueFactory- 覆盖:
createReferenceValueForId在类中BasicValueFactory
-