@Experimental
@Retention(CLASS)
@Documented
@Target({TYPE_USE,METHOD,PARAMETER,FIELD,LOCAL_VARIABLE})
public @interface NlsSafe
Marker annotation for strings that don't require localization but still could be displayed in UI.
Examples:
- File name or path
- Project name
- URL
- Programming language or framework name
NonNls
if something is not intended to be displayed to the user: internal identifier, XML tag attribute,
substring to be searched in the external process output, etc.
This annotation is primarily intended to be used on variable or method return values (in "producer" context). Avoid using it on method parameters (in "consumer" context), as this will simply allow called the method with anything, including hardcoded strings.