Interface Hint<T extends Hint<T>>

Type Parameters:
T - hint type
All Known Implementing Classes:
ArrayHint, CollectionHint, MapHint

public interface Hint<T extends Hint<T>>
A hint that can be passed from a generator to the engine. Hints can be used to fine-tune the behaviour of the engine with respect to objects created by the generator (see Generator.hints()).
Since:
2.0.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<T>
    Returns the type of this hint.
  • Method Details

    • type

      default Class<T> type()
      Returns the type of this hint.
      Returns:
      hint's type
      Since:
      2.0.0