T
- the type of the custom annotationpublic interface AnnotationArgumentFormatter<T extends java.lang.annotation.Annotation>
AnnotationFormat
annotation.AnnotationFormat
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Object argumentToFormat,
T annotation)
Format a single argument by taking the given annotation into account.
|
java.lang.String format(java.lang.Object argumentToFormat, T annotation)
argumentToFormat
- the object to formatannotation
- the annotation the parameter was annotated with