Annotation Interface NlsContext


@Retention(CLASS) @Target(ANNOTATION_TYPE) public @interface NlsContext
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    @NonNls String
    Provide a neat property key prefix that unambiguously defines literal usage context.
    @NonNls String
    Provide a neat property key suffix that unambiguously defines literal usage context.
  • Element Details

    • prefix

      @NonNls @NonNls String prefix
      Provide a neat property key prefix that unambiguously defines literal usage context. E.g. "button", "button.tooltip" for button text and tooltip correspondingly, "action.text" for action text
      Default:
      ""
    • suffix

      @NonNls @NonNls String suffix
      Provide a neat property key suffix that unambiguously defines literal usage context. E.g. "description" for action/intention description
      Default:
      ""