Annotation Type DefaultBoolean


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface DefaultBoolean
    This annotation provides a default value for the annotated method. Because of annotation limits, there is an annotation for: booleans, decimals, numerics and Strings.
    Since:
    4.2.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value
      The default value for the annotated method.
    • Element Detail

      • value

        boolean value
        The default value for the annotated method.
        Returns:
        the default value for the annotated method.
        Since:
        4.2.0
        Default:
        false