@Documented @Retention(value=CLASS) @Target(value={METHOD,FIELD,PARAMETER,LOCAL_VARIABLE,TYPE_USE,TYPE,PACKAGE}) public @interface Nls
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 dialog titles:
@Nls(capitalization = Capitalization.Title) @interface DialogTitle {}
Note that using the derived annotation as meta-annotation is not supported. Meta-annotation works only one level deep.
NonNls
Modifier and Type | Optional Element and Description |
---|---|
Nls.Capitalization |
capitalization |
public abstract Nls.Capitalization capitalization
Copyright © 2024. All rights reserved.