Top Description Methods
org.checkerframework.checker.i18nformatter.qual

public @Interface I18nInvalidFormat

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:TYPE_USE, TYPE_PARAMETER
@SubtypeOf:I18nUnknownFormat
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.checkerframework.framework.qual.SubtypeOf

This annotation, attached to a String type, indicates that if the String is passed to java.text.MessageFormat#format(String, Object...), an exception will result.

Method Summary

Modifier and TypeMethod and Description
public String
value()

Using a value of the annotated type as the first argument to java.text.MessageFormat#format(String, Object...) will lead to this exception message.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

Using a value of the annotated type as the first argument to java.text.MessageFormat#format(String, Object...) will lead to this exception message.