Top Description Methods
org.jetbrains.annotations

public @Interface PropertyKey

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:PARAMETER, LOCAL_VARIABLE, FIELD, TYPE_USE
Imports
java.lang.annotation.*

Specifies that a method parameter, local variable, field or a method return value must be a valid property key in a specific resource bundle. When a string literal which is not a property key in the specified bundle is passed as a parameter, static analyzers may highlight it as an error. The annotation is also could be used by IDEs to provide completion in string literals passed as parameters.

Method Summary

Modifier and TypeMethod and Description
public @NonNls String
resourceBundle()

The full-qualified name of the resource bundle in which the property keys must be present.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

resourceBundleback to summary
public @NonNls 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.

Annotations
@NonNls