Class UserSuppliedGeneratorHandler

java.lang.Object
org.instancio.internal.handlers.UserSuppliedGeneratorHandler
All Implemented Interfaces:
NodeHandler

public class UserSuppliedGeneratorHandler extends Object implements NodeHandler
  • Constructor Details

  • Method Details

    • getResult

      @NotNull public @NotNull GeneratorResult getResult(@NotNull @NotNull Node node)
      If the context has enough information to generate a value for the field, then do so. If not, return an empty Optional and proceed with the main generation flow.
      Specified by:
      getResult in interface NodeHandler