@Target(value=PARAMETER)
@Retention(value=CLASS)
@Documented
public @interface FormatWith
toString()
method will be invoked (or, if the format style is PRINTF
, the object may implement
Formattable
to get extra functionality).Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
value
The class of the formatting object to use.
|