Class I18nFormatterAnnotatedTypeFactory

  • All Implemented Interfaces:
    AnnotationProvider

    public class I18nFormatterAnnotatedTypeFactory
    extends BaseAnnotatedTypeFactory
    Adds I18nFormat to the type of tree, if it is a String or char literal that represents a satisfiable format. The annotation's value is set to be a list of appropriate I18nConversionCategory values for every parameter of the format.

    It also creates a map from the provided translation file if exists. This map will be used to get the corresponding value of a key when ResourceBundle.getString(java.lang.String) method is invoked.

    See the Checker Framework Manual:
    Internationalization Format String Checker