@ParametersAreNonnullByDefault
Package org.instancio
Instancio public-facing APIs; for usage examples see
Instancio
.- See Also:
Instancio
,InstancioApi
-
Interface Summary Interface Description Generator<T> A generator of values of a specific type.GroupableSelector A marker for selectors that can be grouped usingSelect.all(GroupableSelector...)
.InstancioApi<T> Instancio API for generating instances of a class populated with random data.InstancioOfClassApi<T> Instancio API for defining type parameters for generic classes.Model<T> A model containing all the information for populating a class that can be obtained using the'toModel()'
method:OnCompleteCallback<T> A callback that gets invoked after an object has been fully populated.Random Provides methods for generating random values such as numbers, booleans, characters, and strings.Scope A scope for narrowing down selector targets.Selector A class for selecting fields and classes.SelectorGroup A marker for selectors that contain other selectors.TargetSelector A class for selecting fields and classes.ToScopeConvertible An interface for selectors that can be converted to aScope
.TypeToken<T> A supplier that providesType
information.TypeTokenSupplier<T> A supplier that providesType
information. -
Class Summary Class Description Instancio Instancio API for creating instances of a class.Select A collection of static factory methods selecting fields and classes. -
Enum Summary Enum Description Mode The mode is used to specify strictness level, eitherMode.STRICT
orMode.LENIENT
, an idea borrowed from the Mockito library. -
Annotation Types Summary Annotation Type Description InstancioMetamodel This annotation provides support for generating metamodels for classes in order to avoid referencing fields as literal strings.