Package com.tngtech.jgiven.format
Interface AnnotationArgumentFormatter<T extends Annotation>
- Type Parameters:
T
- the type of the custom annotation
- All Known Implementing Classes:
POJOAnnotationFormatter
,PrintfAnnotationFormatter
public interface AnnotationArgumentFormatter<T extends Annotation>
Interface for defining a formatter for a custom annotation using the
AnnotationFormat
annotation.- See Also:
-
Method Summary
-
Method Details
-
format
Format a single argument by taking the given annotation into account.- Parameters:
argumentToFormat
- the object to formatannotation
- the annotation the parameter was annotated with- Returns:
- a formatted string
-