类 ParticularReferenceValueFactory
- java.lang.Object
-
- proguard.evaluation.value.BasicValueFactory
-
- proguard.evaluation.value.TypedReferenceValueFactory
-
- proguard.evaluation.ParticularReferenceValueFactory
-
- 所有已实现的接口:
ValueFactory
- 直接已知子类:
JvmCfaReferenceValueFactory
public class ParticularReferenceValueFactory extends TypedReferenceValueFactory
ThisTypedReferenceValueFactorycreates reference values that also represent their content.Like
IdentifiedValueFactory, it tracksIdentifiedReferenceValues with a unique integer ID.Calling a `createReferenceValue` method will increment the internal referencedID counter and return an object representing that
Valuewith that new referenceID.Calling a `createReferenceForId` method will return an object representing that
Valuewith the specified ID.
-
-
字段概要
-
从类继承的字段 proguard.evaluation.value.BasicValueFactory
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE
-
-
构造器概要
构造器 构造器 说明 ParticularReferenceValueFactory()
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 ReferenceValuecreateReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull)Creates a new ReferenceValue that represents the given type.ReferenceValuecreateReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object value)已过时。ReferenceValuecreateReferenceValue(java.lang.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.ReferenceValuecreateReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset)已过时。ReferenceValuecreateReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset, java.lang.Object value)已过时。ReferenceValuecreateReferenceValue(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, @NotNull AnalyzedObject value)Creates a new ReferenceValue that represents the given type.ReferenceValuecreateReferenceValue(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.ReferenceValuecreateReferenceValueForId(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id)Creates a new ReferenceValue that represents the given type with a specified ID.ReferenceValuecreateReferenceValueForId(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id, java.lang.Object value)已过时。ReferenceValuecreateReferenceValueForId(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.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
-
-
-
-
方法详细资料
-
createReferenceValue
@Deprecated public ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset)
已过时。- 指定者:
createReferenceValue在接口中ValueFactory- 覆盖:
createReferenceValue在类中BasicValueFactory
-
createReferenceValue
public ReferenceValue createReferenceValue(java.lang.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(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset, java.lang.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(java.lang.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(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.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(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.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(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id, java.lang.Object value)
已过时。- 指定者:
createReferenceValueForId在接口中ValueFactory- 覆盖:
createReferenceValueForId在类中BasicValueFactory
-
createReferenceValueForId
public ReferenceValue createReferenceValueForId(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.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
-
-