@API(status=MAINTAINED,
since="1.0")
public interface SelfConfiguringArbitrary<T>
There are a few implementors within jqwik's own codebase:
Modifier and Type | Method and Description |
---|---|
static <T> Arbitrary<T> |
configure(Arbitrary<T> self,
ArbitraryConfigurator configurator,
TypeUsage targetType)
If an arbitrary is self configuring use it, otherwise use default configurator
|
Arbitrary<T> |
configure(ArbitraryConfigurator configurator,
TypeUsage targetType)
Do all configuration yourself or delegate to
ArbitraryConfigurator.configure(Arbitrary, TypeUsage)
of the configurator that's being handed in. |
@API(status=INTERNAL) static <T> Arbitrary<T> configure(Arbitrary<T> self, ArbitraryConfigurator configurator, TypeUsage targetType)
Arbitrary<T> configure(ArbitraryConfigurator configurator, TypeUsage targetType)
ArbitraryConfigurator.configure(Arbitrary, TypeUsage)
of the configurator
that's being handed in.configurator
- targetType
-