org.jetbrains.annotations
Annotation Type PropertyKey


@Documented
@Retention(value=CLASS)
@Target(value=PARAMETER)
public @interface PropertyKey

Specifies that a method parameter accepts arguments which must be valid property keys in a specific resource bundle. When a string literal which is not a property key in the specified bundle is passed as a parameter, IntelliJ IDEA highlights it as an error. The annotation is also used to provide completion in string literals passed as parameters.

Author:
max

Required Element Summary
 java.lang.String resourceBundle
          The full-qualified name of the resource bundle in which the property keys must be present.
 

Element Detail

resourceBundle

public abstract java.lang.String resourceBundle
The full-qualified name of the resource bundle in which the property keys must be present. Consists of a full-qualified name of the package corresponding to the directory where the resource bundle is located and the base name of the resource bundle (with no locale specifier or extension), separated with a dot.