Package spoon.pattern.internal
Class ValueConvertorImpl
java.lang.Object
spoon.pattern.internal.ValueConvertorImpl
- All Implemented Interfaces:
ValueConvertor
Converts the individual parameter values to required type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T> T
cloneIfNeeded(T value)
<T> T
getValueAs(Factory factory, String parameterName, Object value, Class<T> valueClass)
-
Constructor Details
-
ValueConvertorImpl
public ValueConvertorImpl()
-
-
Method Details
-
getValueAs
- Specified by:
getValueAs
in interfaceValueConvertor
-
cloneIfNeeded
protected <T> T cloneIfNeeded(T value)
-