Class GeneratedHints

java.lang.Object
org.instancio.generator.GeneratedHints

@Immutable public class GeneratedHints extends Object
  • Method Details

    • createIgnoreChildrenHint

      public static GeneratedHints createIgnoreChildrenHint()
      Contains a single hint to ignore children.
      Returns:
      ignore children hint
    • ignoreChildren

      public boolean ignoreChildren()
    • nullableResult

      public boolean nullableResult()
      Returns:
      a result indicating that the generated result had 'nullable' flag set to true.
    • nullableElements

      public boolean nullableElements()
    • nullableMapKeys

      public boolean nullableMapKeys()
    • nullableMapValues

      public boolean nullableMapValues()
    • getDataStructureSize

      public int getDataStructureSize()
    • getWithElements

      public List<?> getWithElements()
    • builder

      public static GeneratedHints.Builder builder()
    • toString

      public String toString()
      Overrides:
      toString in class Object