Package org.jboss.logging
Annotation Type FormatWith
-
@Target(PARAMETER) @Retention(CLASS) @Documented @Deprecated public @interface FormatWith
Deprecated.Use org.jboss.logging.annotations.FormatWith provided in module org.jboss.logging:jboss-logging-annotationsIndicate that the given parameter should be wrapped with a formatting object of the given class. The class must have a one-argument constructor which unambiguously accepts a value of this parameter's type. The resultant object will be passed in as a parameter to the underlying format type; thus itstoString()
method will be invoked (or, if the format style isPRINTF
, the object may implementFormattable
to get extra functionality).- Author:
- David M. Lloyd
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>
value
Deprecated.The class of the formatting object to use.
-