blob: 712fc8f4b2759e2d05a3ffe2641b4fa8c4800e92 [file] [log] [blame]
package org.checkerframework.checker.propkey.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;
import org.checkerframework.framework.qual.SubtypeOf;
/**
* Indicates that the {@code String} type can be used as key in a property file or resource bundle.
*
* @checker_framework.manual #propkey-checker Property File Checker
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
@SubtypeOf(UnknownPropertyKey.class)
public @interface PropertyKey {}