Package com.tngtech.jgiven.annotation
Annotation Interface 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
-
Element Details
-
value
String valueThe format string to be used to format the argument.- Default:
- "%s"
-