Package org.instancio.internal.generator
Class GeneratorResult
java.lang.Object
org.instancio.internal.generator.GeneratorResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeneratorResult
getHints()
getValue()
boolean
static GeneratorResult
This result indicates that a null was generated, therefore the target's value should be set to null.toString()
-
Method Details
-
nullResult
This result indicates that a null was generated, therefore the target's value should be set to null. If the target is a field with a pre-initialised default value, it will be overwritten with a null value.An actual
null
GeneratorResult
means that the target field will be ignored (it would retain its default value, if any).- Returns:
- null result
-
create
-
getValue
-
isNullResult
public boolean isNullResult() -
getHints
-
toString
-