Package org.instancio


package org.instancio
Instancio public-facing APIs; for usage examples see Instancio.
See Also:
  • Class
    Description
    An interface for selectors that can be converted to a Scope.
    A builder for constructing predicate-based field selectors.
    Class for generating simple value types, such as strings, numbers, dates, and so on.
    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.
    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.
    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.
    Instancio API for generating collections populated with random data.
    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.
    A callback that gets invoked after an object has been fully populated.
    A selector for matching targets using predicates.
    Provides methods for generating random values such as numbers, booleans, characters, and strings.
    A result containing a created object and seed that was used for populating its values.
    A scope for narrowing down selector targets.
    A collection of static factory methods for creating selectors.
    A selector that can be: grouped with other selectors narrowed down using Scope converted to Scope
    A marker for selectors that contain other selectors.
    A TargetSelector for selecting fields and classes.
    A builder for constructing predicate-based type selectors.
    A supplier that provides Type information.
    A supplier that provides Type information.