Top Description Methods
org.jetbrains.annotations

public @Interface NonNls

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

Specifies that an element of the program is not a user-visible string which needs to be localized, or does not contain such strings. This annotation is intended to be used by localization tools for detecting strings which should not be reported as requiring localization.

This annotation also could be used as a meta-annotation, to define derived annotations for convenience. E.g. the following annotation could be defined to annotate the strings that represent UUIDs, thus should not be localized:

@NonNls
@interface UUID {}

Note that using the derived annotation as meta-annotation is not supported. Meta-annotation works only one level deep.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString