All Classes and Interfaces
Class
Description
Base class for generators that require the
GeneratorContext
.Contains built-in generators for
java.util.concurrent.atomic
classes.Generator spec for
BigDecimal
.A filter for checking whether a
Class
should be excluded from processing.Generator spec for collections.
Collects declared and super class fields, excluding static fields.
Collects declared, non-static fields.
Generator spec for
Duration
.Generator spec for
Enums
.An interface for collecting fields from classes.
A builder for constructing predicate-based field selectors.
Flattens selectors into a list, similar to
stream().flatMap()
.A generator of values of a specific type.
A Service Provider Interface for mapping classes to custom
Generator
implementations.This class provides access to built-in generators.
Marker interface for configurable
Generator
s.A marker for selectors that can be grouped using
Select.all(GroupableSelector...)
.Instancio API for creating instances of a class.
Instancio API for generating instances of a class populated with random data.
Exception generated by incorrect usage of the API.
Exception generated as a result of an internal error.
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.
Defines all keys supported by Instancio.
Generator spec for producing "Lorem ipsum..." text.
Generator spec for maps.
Contains built-in generators for
java.math
classes.Selector for use in generated metamodel classes only.
The mode is used to specify strictness level, either
Mode.STRICT
or Mode.LENIENT
,
an idea borrowed from the Mockito library.A model containing all the information for populating a class that
can be obtained using the
'toModel()'
method:Class for creating a node hierarchy for a given
Type
.Resolves
NodeKind
based on node's target class.Generator spec for numeric types.
A callback that gets invoked after an object has been fully populated.
A filter for checking whether a
Package
should be excluded from processing.Generator spec for
Period
.A selector for matching targets using predicates.
Provides methods for generating random values such as numbers,
booleans, characters, and strings.
Copied from the Apache Commons Math library.
Provides support for auto-adjusting 'range' settings that have a min and a max value.
Adjusts the upper bound of a range given a new lower bound.
Adjusts the lower bound of a range given a new upper bound.
Helper class for working with
java.lang.Record
classes.A result containing a created object and seed that was used for populating its values.
A scope for narrowing down selector targets.
Internal class for generating random initial seed values.
A collection of static factory methods for creating selectors.
An internal builder for constructing selectors.
A marker for selectors that contain other selectors.
Represents what is being targeted, a field or a class.
A setting key represents a configuration item and has the following properties:
SettingKey.propertyKey()
- property name that can be used in a configuration file
SettingKey.defaultValue()
- that will be used if there is no configuration file present
This class provides an API for updating settings programmatically.
Generator spec for Strings.
Subtype mapping precedence, lowest to highest:
from
Settings
from InstancioApi.subtype(TargetSelector, Class)
from Generator, e.g.A
TargetSelector
for selecting fields and classes.Contains built-in temporal generators.
Generator spec for
Temporal
types.Contains built-in text generators.
An interface for selectors that can be converted to a
Scope
.Helper class for mapping type variables to actual type arguments.
A Service Provider Interface for mapping types to subtypes.
A builder for constructing predicate-based type selectors.
A supplier that provides
Type
information.A supplier that provides
Type
information.Provides selector description in the "unused selectors" error message.
Exception triggered as a result of unused selectors.
Generator spec for generating UUID strings.
A functional interface for void methods.