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