|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tngtech.jgiven.format.PrintfAnnotationFormatter
public class PrintfAnnotationFormatter
AnnotationArgumentFormatter
that is used by the Formatf
annotation
Constructor Summary | |
---|---|
PrintfAnnotationFormatter()
|
Method Summary | |
---|---|
java.lang.String |
format(java.lang.Object argumentToFormat,
Formatf annotation)
Format a single argument by taking optional formatter arguments into account. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintfAnnotationFormatter()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |