Package proguard.evaluation.value
Class ArrayReferenceValueFactory
java.lang.Object
proguard.evaluation.value.BasicValueFactory
proguard.evaluation.value.TypedReferenceValueFactory
proguard.evaluation.value.ArrayReferenceValueFactory
- 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.BasicValueFactory
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE -
Constructor Summary
Constructors -
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.TypedReferenceValueFactory
createReferenceValue, createReferenceValueNullMethods inherited from class proguard.evaluation.value.BasicValueFactory
checkCreationLocation, checkReferenceValue, createDoubleValue, createDoubleValue, createFloatValue, createFloatValue, createIntegerValue, createIntegerValue, createIntegerValue, createLongValue, createLongValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValueForId, createReferenceValueForId, createReferenceValueForId, 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
createReferenceValue, createReferenceValue, createReferenceValue
-
Constructor Details
-
ArrayReferenceValueFactory
public ArrayReferenceValueFactory()
-
-
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 classTypedReferenceValueFactory
-
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 classTypedReferenceValueFactory
-