@API(status=EXPERIMENTAL,
     since="1.2.4")
 @FunctionalInterface
public interface ResolveParameterHook
extends LifecycleHook
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
ResolveParameterHook.ParameterSupplier  | 
| Modifier and Type | Field and Description | 
|---|---|
static ResolveParameterHook | 
DO_NOT_RESOLVE  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Optional<ResolveParameterHook.ParameterSupplier> | 
resolve(ParameterResolutionContext parameterContext,
       LifecycleContext lifecycleContext)
This method will be called only once per property, whereas the returned supplier's get method
 is usually invoked for each try - and potentially more often during shrinking or when resolving
 parameters in before/after methods. 
 | 
appliesTo, propagateTostatic final ResolveParameterHook DO_NOT_RESOLVE
@API(status=EXPERIMENTAL,
     since="1.2.5")
java.util.Optional<ResolveParameterHook.ParameterSupplier> resolve(ParameterResolutionContext parameterContext,
                                                                                                                 LifecycleContext lifecycleContext)
parameterContext - Contains information of parameter to resolvelifecycleContext - Is never of type TryLifecycleContext at resolution time