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