T - The supported type.public class ExpressionValueProvider<T> extends GenericValueProvider<T>
Supplier to provide its value.| Constructor and Description |
|---|
ExpressionValueProvider(Class<T> acceptedClass,
Supplier<T> supplier) |
| Modifier and Type | Method and Description |
|---|---|
Object |
provide(Class<?> parameterClass,
Method setterMethod)
Provides a value for the given class.
|
canProvidepublic Object provide(Class<?> parameterClass, Method setterMethod)
ValueProviderprovide in interface ValueProviderprovide in class GenericValueProvider<T>parameterClass - The class to provide a value for.setterMethod - The setter method of the property being set.Copyright © 2018. All rights reserved.