Package proguard.evaluation.value
Class InitialValueFactory
java.lang.Object
proguard.evaluation.value.InitialValueFactory
This value factory creates initial values for fields and array elements, with the help of a given
value factory. Note that this class itself doesn't implement
ValueFactory.-
Constructor Summary
ConstructorsConstructorDescriptionInitialValueFactory(ValueFactory valueFactory) Creates a new InitialValueFactory. -
Method Summary
Modifier and TypeMethodDescriptioncreateValue(String type) Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.
-
Constructor Details
-
InitialValueFactory
Creates a new InitialValueFactory.- Parameters:
valueFactory- the value factory that will actually create the values.
-
-
Method Details
-
createValue
Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.
-