Annotation Interface RandomizedInteger


@Retention(RUNTIME) @Target(FIELD) public @interface RandomizedInteger
This annotation is used to mark a field as an integer that should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The maximum value for that integer
    int
    The minimum value for that integer
  • Element Details

    • min

      int min
      The minimum value for that integer
      Returns:
      the minimum value
      Default:
      -2147483648
    • max

      int max
      The maximum value for that integer
      Returns:
      the maximum value
      Default:
      2147483647