Package org.instancio.internal.selectors
Class MetamodelSelector
java.lang.Object
org.instancio.internal.selectors.SelectorImpl
org.instancio.internal.selectors.MetamodelSelector
- All Implemented Interfaces:
ConvertibleToScope
,DepthSelector
,GroupableSelector
,Flattener
,UnusedSelectorDescription
,Selector
,TargetSelector
Deprecated.
Selector for use in generated metamodel classes only.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.instancio.internal.selectors.SelectorImpl
SelectorImpl.Builder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Since selector in a metamodel class is a static final field, thestackTraceHolder
property it contains does not indicate where the metamodel property is used in client code.static Selector
Deprecated.Methods inherited from class org.instancio.internal.selectors.SelectorImpl
atDepth, builder, builder, equals, flatten, getDepth, getDescription, getFieldName, getParent, getRootSelector, getScopes, getStackTraceHolder, getTargetClass, hashCode, isFieldSelector, isRoot, toScope, toString, within
-
Method Details
-
of
Deprecated. -
copyWithNewStackTraceHolder
Deprecated.Since selector in a metamodel class is a static final field, thestackTraceHolder
property it contains does not indicate where the metamodel property is used in client code. This method creates a copy of the selector with a newstackTraceHolder
, so that correct location can be output in the "unused selectors" error message.- Returns:
- a copy of this selector containing a new
stackTraceHolder
-