@TypeQualifier @SubtypeOf(value=UnknownFormat.class) @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) public @interface InvalidFormat
String
type,
indicates that the String may not be passed to
Formatter.format
, or
similar functions.
Passing it will lead to the exception message indicated in the annotation's
value.
This annotation may not be written in source code; it is an implementation detail of the checker.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |