Annotation Interface NullAllowed


Mark a parameter of a Property method with this annotation to indicate that the parameter is nullable, and to optionally configure the probability of generating a null value.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    double
     
  • Element Details

    • probability

      double probability
      Returns:
      probability of generating null, in the range [0,1]
      Default:
      0.2