Package com.tngtech.jgiven.format
Class PrintfAnnotationFormatter
java.lang.Object
com.tngtech.jgiven.format.PrintfAnnotationFormatter
- All Implemented Interfaces:
AnnotationArgumentFormatter<Formatf>
public class PrintfAnnotationFormatter
extends Object
implements AnnotationArgumentFormatter<Formatf>
AnnotationArgumentFormatter
that is used by the Formatf
annotation-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PrintfAnnotationFormatter
public PrintfAnnotationFormatter()
-
-
Method Details
-
format
Description copied from interface:AnnotationArgumentFormatter
Format a single argument by taking the given annotation into account.- Specified by:
format
in interfaceAnnotationArgumentFormatter<Formatf>
- Parameters:
argumentToFormat
- the object to formatannotation
- the annotation the parameter was annotated with- Returns:
- a formatted string
-