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
Constructors -
Method Summary
-
Constructor Details
-
PrintfAnnotationFormatter
public PrintfAnnotationFormatter()
-
-
Method Details
-
format
Description copied from interface:AnnotationArgumentFormatterFormat a single argument by taking the given annotation into account.- Specified by:
formatin interfaceAnnotationArgumentFormatter<Formatf>- Parameters:
argumentToFormat- the object to formatannotation- the annotation the parameter was annotated with- Returns:
- a formatted string
-