Package proguard.evaluation.value
Class InitialValueFactory
- java.lang.Object
-
- proguard.evaluation.value.InitialValueFactory
-
public class InitialValueFactory extends java.lang.Object
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 implementValueFactory
.
-
-
Constructor Summary
Constructors Constructor Description InitialValueFactory(ValueFactory valueFactory)
Creates a new InitialValueFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value
createValue(java.lang.String type)
Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.
-
-
-
Constructor Detail
-
InitialValueFactory
public InitialValueFactory(ValueFactory valueFactory)
Creates a new InitialValueFactory.- Parameters:
valueFactory
- the value factory that will actually create the values.
-
-
Method Detail
-
createValue
public Value createValue(java.lang.String type)
Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.
-
-