Annotation Type Formatf


  • @Documented
    @AnnotationFormat(PrintfAnnotationFormatter.class)
    @Retention(RUNTIME)
    @Target({PARAMETER,FIELD,ANNOTATION_TYPE})
    public @interface Formatf
    A special format annotation that uses the formatting known from the String.format method.

    Note that this uses the default locale returned from Locale.getDefault()

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      The format string to be used to format the argument.
    • Element Detail

      • value

        java.lang.String value
        The format string to be used to format the argument.
        Default:
        "%s"