Uses of Interface
org.instancio.Selector
Packages that use Selector
Package
Description
Instancio public-facing APIs; for usage examples see
Instancio.Provides selector API implementation.
-
Uses of Selector in org.instancio
Methods in org.instancio that return SelectorModifier and TypeMethodDescriptionstatic SelectorSelect all instances of the given type, not including subtypes.static SelectorSelect.allBooleans()Selects all booleans, primitive and wrapper.static SelectorSelect.allBytes()Selects all bytes, primitive and wrapper.static SelectorSelect.allChars()Selects all characters, primitive and wrapper.static SelectorSelect.allDoubles()Selects all doubles, primitive and wrapper.static SelectorSelect.allFloats()Selects all floats, primitive and wrapper.static SelectorSelect.allInts()Selects all integers, primitive and wrapper.static SelectorSelect.allLongs()Selects all longs, primitive and wrapper.static SelectorSelect.allShorts()Selects all shorts, primitive and wrapper.static SelectorSelect.allStrings()Shorthand forall(String.class).static SelectorSelects a field by name in the specified class.static SelectorSelects a field by name declared in the class being created.static <T,R> Selector Select.field(GetMethodSelector<T, R> methodReference) Selects a field based on the given method reference. -
Uses of Selector in org.instancio.internal.selectors
Classes in org.instancio.internal.selectors that implement SelectorModifier and TypeClassDescriptionfinal classSelector for use in generated metamodel classes only.final classclassMethods in org.instancio.internal.selectors that return SelectorModifier and TypeMethodDescriptionMetamodelSelector.copyWithNewStackTraceHolder()Since selector in a metamodel class is a static final field, thestackTraceHolderproperty it contains does not indicate where the metamodel property is used in client code.SelectorImpl.getParent()static Selectorstatic <T,R> Selector MethodReferenceHelper.resolve(GetMethodSelector<T, R> methodRef) Methods in org.instancio.internal.selectors that return types with arguments of type SelectorMethods in org.instancio.internal.selectors with parameters of type SelectorModifier and TypeMethodDescription