Package proguard.evaluation.value
Class DetailedArrayValueFactory
java.lang.Object
proguard.evaluation.value.BasicValueFactory
proguard.evaluation.value.ParticularValueFactory
proguard.evaluation.value.IdentifiedValueFactory
proguard.evaluation.value.DetailedArrayValueFactory
- All Implemented Interfaces:
ValueFactory
This identified value factory creates array reference values that also represent their elements,
in as far as possible.
-
Field Summary
Fields inherited from class proguard.evaluation.value.ParticularValueFactory
referenceValueFactoryFields inherited from class proguard.evaluation.value.BasicValueFactory
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.DetailedArrayValueFactory(ValueFactory referenceValueFactory) Creates a new DetailedArrayValueFactory, which uses the given value factory for non-array reference construction. -
Method Summary
Modifier and TypeMethodDescriptioncreateArrayReferenceValue(String type, Clazz referencedClass, IntegerValue arrayLength) Creates a new ReferenceValue that represents a non-null array with elements of the given type, with the given length.createArrayReferenceValue(String type, Clazz referencedClass, IntegerValue arrayLength, Object elementValues) Creates a new ReferenceValue that represents a non-null array with elements of the given type, with the given length and initial element values.Methods inherited from class proguard.evaluation.value.IdentifiedValueFactory
createDoubleValue, createFloatValue, createIntegerValue, createLongValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValueForId, createReferenceValueForId, generateReferenceIdMethods inherited from class proguard.evaluation.value.ParticularValueFactory
createDoubleValue, createFloatValue, createIntegerValue, createLongValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValueForId, createReferenceValueNullMethods inherited from class proguard.evaluation.value.BasicValueFactory
checkCreationLocation, checkReferenceValue, createIntegerValue, createValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.evaluation.value.ValueFactory
createIntegerValue, createReferenceValue, createReferenceValue, createReferenceValue, createValue
-
Constructor Details
-
DetailedArrayValueFactory
Deprecated.Creates a new DetailedArrayValueFactory, which does not track reference values. -
DetailedArrayValueFactory
Creates a new DetailedArrayValueFactory, which uses the given value factory for non-array reference construction.
-
-
Method Details
-
createArrayReferenceValue
public ReferenceValue createArrayReferenceValue(String type, Clazz referencedClass, IntegerValue arrayLength) Description copied from interface:ValueFactoryCreates a new ReferenceValue that represents a non-null array with elements of the given type, with the given length.- Specified by:
createArrayReferenceValuein interfaceValueFactory- Overrides:
createArrayReferenceValuein classIdentifiedValueFactory
-
createArrayReferenceValue
public ReferenceValue createArrayReferenceValue(String type, Clazz referencedClass, IntegerValue arrayLength, Object elementValues) Description copied from interface:ValueFactoryCreates a new ReferenceValue that represents a non-null array with elements of the given type, with the given length and initial element values.- Specified by:
createArrayReferenceValuein interfaceValueFactory- Overrides:
createArrayReferenceValuein classParticularValueFactory
-