Annotation Interface I18nInvalidFormat
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@SubtypeOf(I18nUnknownFormat.class)
public @interface I18nInvalidFormat
This annotation, attached to a
String
type, indicates that if the String
is passed to MessageFormat.format(String, Object...)
, an exception will result.- See the Checker Framework Manual:
- Internationalization Format String Checker
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionUsing a value of the annotated type as the first argument toMessageFormat.format(String, Object...)
will lead to this exception message.
-
Element Details
-
value
String valueUsing a value of the annotated type as the first argument toMessageFormat.format(String, Object...)
will lead to this exception message.
-