All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.checkerframework.checker.i18nformatter.qual.I18nChecksFormat Maven / Gradle / Ivy

There is a newer version: 4.1.3
Show newest version
package org.checkerframework.checker.i18nformatter.qual;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation is used internally to annotate {@link
 * org.checkerframework.checker.i18nformatter.I18nFormatUtil#hasFormat} (and will potentially be
 * used to annotate more such functions in the future).
 *
 * 

Attach this annotation to a method with the following properties: * *

    *
  • The first parameter is a format string. *
  • The second parameter is a vararg that takes conversion categories. *
  • The method returns true if the format string is compatible with the conversion categories. *
* * @checker_framework.manual #i18n-formatter-checker Internationalization Format String Checker */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface I18nChecksFormat {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy