Uses of Interface
org.instancio.Scope

Packages that use Scope
Package
Description
Instancio public-facing APIs; for usage examples see Instancio.
  • Uses of Scope in org.instancio

    Methods in org.instancio that return Scope
    Modifier and Type
    Method
    Description
    static Scope
    Select.scope(Class<?> targetClass)
    Creates a selector scope for narrowing down a selector's target to the specified class.
    static Scope
    Select.scope(Class<?> targetClass, String fieldName)
    Creates a scope for narrowing down a selector's target to a field of the specified class.
    static <T, R> Scope
    Select.scope(GetMethodSelector<T,R> methodReference)
    Creates a scope for narrowing down a selector's target to a matching the specified method reference.
    ConvertibleToScope.toScope()
    Scope representation of a selector.
    Methods in org.instancio with parameters of type Scope
    Modifier and Type
    Method
    Description
    ScopeableSelector.within(Scope... scopes)
    Specifies the scope for this selector in order to narrow down its target.
    Selector.within(Scope... scopes)
    Specifies the scope for this selector in order to narrow down its target.