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
public class DetailedArrayValueFactory extends IdentifiedValueFactory
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
referenceValueFactory
-
Fields inherited from class proguard.evaluation.value.BasicValueFactory
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE
-
-
Constructor Summary
Constructors Constructor Description DetailedArrayValueFactory()
Deprecated.DetailedArrayValueFactory(ValueFactory referenceValueFactory)
Creates a new DetailedArrayValueFactory, which uses the given value factory for non-array reference construction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceValue
createArrayReferenceValue(java.lang.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.ReferenceValue
createArrayReferenceValue(java.lang.String type, Clazz referencedClass, IntegerValue arrayLength, java.lang.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, generateReferenceId
-
Methods inherited from class proguard.evaluation.value.ParticularValueFactory
createDoubleValue, createFloatValue, createIntegerValue, createLongValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValueForId, createReferenceValueNull
-
Methods inherited from class proguard.evaluation.value.BasicValueFactory
checkCreationLocation, checkReferenceValue, createIntegerValue, createValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.evaluation.value.ValueFactory
createIntegerValue, createReferenceValue, createReferenceValue, createReferenceValue, createValue
-
-
-
-
Constructor Detail
-
DetailedArrayValueFactory
@Deprecated public DetailedArrayValueFactory()
Deprecated.Creates a new DetailedArrayValueFactory, which does not track reference values.
-
DetailedArrayValueFactory
public DetailedArrayValueFactory(ValueFactory referenceValueFactory)
Creates a new DetailedArrayValueFactory, which uses the given value factory for non-array reference construction.
-
-
Method Detail
-
createArrayReferenceValue
public ReferenceValue createArrayReferenceValue(java.lang.String type, Clazz referencedClass, IntegerValue arrayLength)
Description copied from interface:ValueFactory
Creates a new ReferenceValue that represents a non-null array with elements of the given type, with the given length.- Specified by:
createArrayReferenceValue
in interfaceValueFactory
- Overrides:
createArrayReferenceValue
in classIdentifiedValueFactory
-
createArrayReferenceValue
public ReferenceValue createArrayReferenceValue(java.lang.String type, Clazz referencedClass, IntegerValue arrayLength, java.lang.Object elementValues)
Description copied from interface:ValueFactory
Creates 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:
createArrayReferenceValue
in interfaceValueFactory
- Overrides:
createArrayReferenceValue
in classParticularValueFactory
-
-