@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)
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, prepareFor, propagateTo
static final ResolveParameterHook DO_NOT_RESOLVE
@API(status=EXPERIMENTAL, since="1.2.5") java.util.Optional<ResolveParameterHook.ParameterSupplier> resolve(ParameterResolutionContext parameterContext)
parameterContext
-