public class PrintfAnnotationFormatter extends java.lang.Object implements AnnotationArgumentFormatter<Formatf>
AnnotationArgumentFormatter
that is used by the Formatf
annotationConstructor and Description |
---|
PrintfAnnotationFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Object argumentToFormat,
Formatf annotation)
Format a single argument by taking the given annotation into account.
|
public java.lang.String format(java.lang.Object argumentToFormat, Formatf annotation)
AnnotationArgumentFormatter
format
in interface AnnotationArgumentFormatter<Formatf>
argumentToFormat
- the object to formatannotation
- the annotation the parameter was annotated with