All Classes and Interfaces

Class
Description
A hint that specifies an action to be taken after an object is generated by a generator.
Generator spec for arrays.
This hint is for generators that create arrays.
Builder class for this hint.
Allows mapping the result of a generator to another type.
A collection of static factory methods for creating assignments.
An assignment that can be passed to the InstancioApi.assign(Assignment...) method.
A setting that specifies whether objects should be populated via fields or methods.
Contains built-in generators for java.util.concurrent.atomic classes.
Defines top-level operations supported by the API.
A setting that specifies whether Bean Validation annotations are declared on fields or getters.
Generator spec for BigDecimal.
Spec for generating BigDecimal values.
Spec for generating BigInteger values.
Generator spec for booleans.
Spec for generating Boolean values.
Contains built-in generators for Brazilian identifiers.
Provides generators for Brazilian identifiers.
Spec for generating Byte values.
Contains built-in generators for Canadian identifiers.
Provides generators for Canadian identifiers.
Generator spec for characters.
Spec for generating Character values.
Contains built-in generators for checksum-valid numbers.
Provides generators for checksum-valid numbers.
Generator spec for collections.
This hint is for generators that create collections.
Builder class for this hint.
An interface for selectors that can be converted to a Scope.
Spec for generating coordinate values.
Spec for generating spatial coordinate values.
Spec for generating credit card numbers.
Spec for generating credit card numbers.
Generator spec for producing CSV.
Spec for generating CSV.
A data source for specs defined by a Feed.
Provides a DataSource using the specified DataSourceProvider.DataSourceFactory.
Creates DataSource objects from various underlying sources.
Interface for specifying the depth of a selector's target using a predicate.
Interface for specifying the depth of a selector's target.
Spec for generating Double values.
Generator spec for Duration.
Spec for generating Duration.
Spec for generating European Article Number (EAN).
Spec for generating European Article Number (EAN).
Spec for generating email addresses.
Spec for generating email addresses.
A generator spec that emits given items to a selector's target.
Generator spec for Enums.
Generator spec for EnumSet.
Spec for generating enums.
Denotes experimental APIs that may be modified or removed entirely at any time, even across minor versions.
This interface provides support for using data from external sources (such as CSV or JSON files) and enables the following use cases: Generating values using methods defined by a feed. Populating values via the generate() method. Mapping feed data to an object using applyFeed(). Using a feed instance as a parameterized test argument.
Specifies the data access strategy to be used by a feed.
Annotation for specifying the data format type for a feed.
An annotation for specifying data for a Feed.
Annotation for specifying a property to use as a tag key in a data feed.
Interface for configuring Feed instances.
Specifies how Feed data is accessed.
This setting is only applicable if Keys.FEED_DATA_ACCESS is set to FeedDataAccess.SEQUENTIAL.
Enumeration representing the options for trimming data in a feed.
Enumeration of data format types supported by the Feed.Source annotation.
Provider interface for building Feed instances.
Factory for building instances of a Feed.
The return type for spec methods declared by a Feed.
Defines built-in accessors for a Feed.
Defines annotations that can be used with FeedSpec methods.
Allows mapping a property name from an external data source to a spec method in a Feed.
A spec that is derived from one or more other specs.
A feed spec that is generated by a Generator.
Specifies that the annotated spec method can generate null values.
A template spec is for producing string values based on a string template with inputs provided by other specs.
This annotation allows specifying one or more PostProcessor classes for processing values returned by the annotated spec method.
Annotation to specify a custom Function to be used for converting string values to a specified type.
A builder for constructing predicate-based field selectors.
Spec for generating File and Path values.
Spec for generating File values.
A predicate for testing values using the BaseApi.filter(TargetSelector, FilterPredicate) method.
Contains built-in finance-related generators.
Provides finance-related generators.
Spec for generating Float values.
Marker interface for supported data formats.
Interface for configuring CSV data format options.
Creates FormatOptionsProvider.FormatOptions objects for supported data format types.
A marker interface for classes that provide a method for handling FeedSpecAnnotations.FunctionSpec.
A class for generating values of a specific type.
Provides additional information, such as settings and a random instance to generators that require it.
Defines all built-in generators available via the InstancioApi.generate(TargetSelector, GeneratorSpecProvider).
A marker interface serving as the base class for all Generators.
Provides access to built-in generators that support customisation of generated values using the API.
A selector that matches a field using a getter method reference.
Represents an origin selector of a conditional assignment.
Represents an origin and a destination of a conditional assigment.
Defines optional methods that can be chained to Assign.given(TargetSelector) builder expression.
Defines methods one of which follow the Assign.given(TargetSelector) builder expressions to create an assignment.
Defines optional methods that can be chained to Assign.given(TargetSelector, TargetSelector) builder expression.
A marker for selectors that can be grouped using Select.all(GroupableSelector...).
Spec for generating hashes
Spec for generating hashes
A hint that can be passed from a generator to the engine.
Hints are provided by Generator implementations to the engine to support more flexibility in how objects are populated.
Builder for constructing Hints.
Contains built-in generators for various types of identifiers.
Provides generators for various types of identifiers.
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.
Provides an API for generating the Cartesian product.
Instancio API for defining type parameters for generic classes.
Instancio API for generating collections populated with random data.
Base class for all exceptions thrown by Instancio.
An API for customising the properties of a Feed.
A shorthand API for generating value types, such as strings, numbers, dates, etc.
Instancio Service Provider Interface for providing custom: generator mappings via InstancioServiceProvider.getGeneratorProvider() subtype mappings via InstancioServiceProvider.getTypeResolver() class instantiation logic via InstancioServiceProvider.getTypeInstantiator() setter resolution via InstancioServiceProvider.getSetterMethodResolver() annotation processing via InstancioServiceProvider.getAnnotationProcessor()
Allows customising generated values based on annotations.
Denotes a method for handling annotations.
Provides custom Generator classes.
Resolves setter method based on a given node when Keys.ASSIGNMENT_TYPE is set to AssignmentType.METHOD.
Provides custom instantiation logic.
Resolves subtype based on a given class.
Exception generated by incorrect usage of the SPI.
This exception (and its subclasses) indicates an unrecoverable error and propagates all the way up to the user.
Generator spec for Instant.
Spec for generating Instant values.
Spec for generating Integer values.
Denotes internal APIs that are not intended for external use.
Spec for generating intervals of various types, such as numeric and temporal values.
A supplier of start and end interval values.
Contains built-in generators for java.io classes.
Provides generators for java.io classes.
Generator spec for IPv4.
Spec for generating IPv4 addresses.
Spec for generating ISBN.
Spec for generating ISBN.
Defines all keys supported by Instancio.
Provides support for lenient mode.
A lenient selector does not trigger the "unused selector" error if it does not match any targets.
Spec for generating LocalDate values.
Generator spec for LocalDateTime.
Spec for generating LocalDateTime values.
Generator spec for LocalTime.
Spec for generating LocalTime values.
Spec for generating Long values.
Generator spec for producing "Lorem ipsum..." text.
Spec for generating "lorem ipsum" text.
A spec for generating numbers that pass the Luhn checksum algorithm.
A spec for generating numbers that pass the Luhn checksum algorithm.
Generator spec for maps.
This hint is for generators that create maps.
Builder class for this hint.
Contains built-in generators for java.math classes.
Provides generators for java.math classes.
A class containing modifier constants.
A spec for generating numbers that pass the Mod10 checksum algorithm.
A spec for generating numbers that pass the Mod10 checksum algorithm.
A spec for generating numbers that pass the Mod11 checksum algorithm.
A spec for generating numbers that pass the Mod11 checksum algorithm.
The mode is used to specify strictness level, either Mode.STRICT or Mode.LENIENT, an idea borrowed from the Mockito library.
A model is a template for creating objects and contains all the parameters for populating a class specified using Instancio API.
Generator spec for MonthDay types.
Generator spec for MonthDay types.
Contains built-in generators for java.net classes.
Provides generators for java.net classes.
Contains built-in generators for java.nio classes.
Provides generators for java.nio classes.
Represents a single Node of a node hierarchy created for a given Type.
This annotation marks APIs that produce data which cannot be guaranteed to be reproducible.
Provides methods for specifying whether null can be generated.
Generator spec for numeric types.
Spec for generating Number types.
A spec for generating numeric sequences.
Spec for generating numeric sequences.
Generator spec for OffsetDateTime.
Spec for generating OffsetDateTime values.
Generator spec for OffsetTime.
Spec for generating OffsetTime values.
A callback that gets invoked after an object has been fully populated.
Generator spec for selecting a random value from an array.
Spec for selecting a random value from an array.
Generator spec for selecting a random value from collection.
Spec for selecting a random value from a collection.
A setting that specifies what should happen if an error occurs when setting a field's value.
A setting that specifies what should happen if an error occurs during a setter method invocation.
A setting that specifies what should happen if a setter cannot be resolved.
A setting that specifies what should happen if a setter has no matching field.
Generator spec for Optional.
Generator spec for customising Files and Paths.
Spec for generating Path values.
Generator spec for Period.
Spec for generating Period.
Contains built-in generators for Polish identifiers.
Provides generators for Polish identifiers.
An interface for applying additional processing to data returned by a spec method of a Feed.
A selector for matching targets using predicates.
Provides methods for generating random values such as numbers, booleans, characters, and strings.
A function that accepts an argument and produces a randomised result.
Represents a unary operator that produces a result of the same type as its operand.
A result containing a created object and seed that was used for populating its values.
Contains built-in generators for Russian identifiers.
Provides generators for Russian identifiers.
A scope for narrowing down selector targets.
Represents a selector that can be scoped using within(Scope...scopes).
Provides static factory methods for creating selectors and selector scopes.
Represents regular field and class selectors, including primitive and wrapper selectors.
A marker for selectors that contain other selectors.
Provides additional information to InstancioServiceProvider.
A selector for setter methods.
Specifies the style of setter to use when AssignmentType.METHOD is enabled.
A setting key represents a configuration item that can be stored in a Settings instance.
A builder for creating custom keys.
This class provides an API for updating settings programmatically.
Provides an API for specifying custom Settings.
Spec for generating Short values.
Spec for shuffling elements in a random order, providing the results as a Collection.
Spec for generating Canadian Social Insurance Number (SIN).
Spec for generating Canadian Social Insurance Number (SIN).
Generator spec for specifying the size of an object.
Contains built-in spatial generators.
Provides spatial data related generators.
Spec for generating US Social Security Number (SSN).
Spec for generating US Social Security Number (SSN).
A setting that specifies the case of generated strings.
Generator spec for Strings.
Spec for generating String values.
A setting that specifies the type of String to generate.
Provides a method for specifying a specific subtype that should be generated.
A TargetSelector for selecting fields and classes.
Contains built-in temporal generators.
Generator spec for Temporal types.
Spec for generating Temporal types.
Provides generators for java.time classes.
Contains built-in text generators.
Spec for generating strings based on a pattern.
Spec for generating strings based on a pattern.
Provides text generators.
Spec for generating Brazilian 'Titulo de Eleitor' .
Spec for generating Brazilian 'Titulo de Eleitor' .
A spec for truncating temporal values.
A builder for constructing predicate-based type selectors.
A supplier that provides Type information.
A supplier that provides Type information.
Exception triggered as a result of an assignment expression that could not be resolved.
Exception triggered as a result of unused selectors.
Generator spec for URI.
Spec for generating URI values.
Generator spec for URL.
Spec for generating URL values.
Contains built-in generators for USA identifiers.
Provides generators for USA identifiers.
Spec for generating UUID values.
Generator spec for generating UUID strings.
Spec for generating string representations of UUID values.
Value of a target selector of an assignment.
An assigment containing origin and destination selectors.
An assigment containing origin and destination selectors, and a predicate that the origin value must satisfy for the assignment to be applied.
A spec for generating simple value types, such as strings, numbers, dates, and so on.
Defines all built-in generators that are available via the Instancio.gen() method.
Provides support for verbose mode.
Provides convenience methods for creating Predicates.
Adds ability to narrow down selector targets using Scope.
Spec for generating YearMonth values.
Spec for generating Year values.
Generator spec for ZonedDateTime.
Spec for generating ZonedDateTime values.