@API(status=MAINTAINED,
     since="1.2")
public interface TypeArbitrary<T>
extends Arbitrary<T>
T from the type's available constructors and factory methods.
 When constructors and factory methods have parameters those parameters will be resolved by searching for matching registered arbitrary providers. The searching is performed either globally or in the property method's specified domain contexts.
Domain, 
DomainContextArbitrary.ArbitraryFacade| Modifier and Type | Method and Description | 
|---|---|
| TypeArbitrary<T> | use(java.lang.reflect.Executable creator)Add another creator (function or constructor) to be used
 for generating values of type  T | 
| TypeArbitrary<T> | useAllConstructors()Add all constructors (public, private or package scope) of class  Tto be used
 for generating values of typeT | 
| TypeArbitrary<T> | useAllFactoryMethods()Add all factory methods (static methods with return type  T)
 of classTto be used for generating values of typeT | 
| TypeArbitrary<T> | useConstructors(java.util.function.Predicate<? super java.lang.reflect.Constructor<?>> filter)Add all constructors (public, private or package scope) of class  Tto be used
 for generating values of typeT | 
| TypeArbitrary<T> | useFactoryMethods(java.util.function.Predicate<java.lang.reflect.Method> filter)Add all factory methods (static methods with return type  T)
 of classTto be used for generating values of typeT | 
| TypeArbitrary<T> | usePublicConstructors()Add public constructors of class  Tto be used
 for generating values of typeT | 
| TypeArbitrary<T> | usePublicFactoryMethods()Add public factory methods (static methods with return type  T)
 of classTto be used for generating values of typeT | 
allValues, array, asGeneric, collect, dontShrink, edgeCases, exhaustive, exhaustive, filter, fixGenSize, flatMap, forEachValue, generator, ignoreException, injectDuplicates, injectNull, isUnique, iterator, list, map, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, uniqueTypeArbitrary<T> use(java.lang.reflect.Executable creator)
Tcreator - The static function or constructorTypeArbitrary<T> usePublicConstructors()
T to be used
 for generating values of type TTypeArbitrary<T> useAllConstructors()
T to be used
 for generating values of type TTypeArbitrary<T> useConstructors(java.util.function.Predicate<? super java.lang.reflect.Constructor<?>> filter)
T to be used
 for generating values of type Tfilter - Predicate to add only those constructors for which the predicate returns trueTypeArbitrary<T> usePublicFactoryMethods()
T)
 of class T to be used for generating values of type TTypeArbitrary<T> useAllFactoryMethods()
T)
 of class T to be used for generating values of type TTypeArbitrary<T> useFactoryMethods(java.util.function.Predicate<java.lang.reflect.Method> filter)
T)
 of class T to be used for generating values of type Tfilter - Predicate to add only those factory methods for which the predicate returns true