@Documented @Retention(value=CLASS) @Target(value={METHOD,FIELD,PARAMETER,LOCAL_VARIABLE,ANNOTATION_TYPE}) @Language(value="RegExp") public @interface RegExp
Pattern
.
Code editors may use this annotation to enable syntax highlighting, code completion and other features
inside the literals that assigned to the annotated variables, passed as arguments to the annotated parameters,
or returned from the annotated methods.Language
Modifier and Type | Optional Element and Description |
---|---|
@NonNls String |
prefix
A constant prefix that is assumed to be implicitly added before the regular expression.
|
@NonNls String |
suffix
A constant suffix that is assumed to be implicitly added after the regular expression.
|
Copyright © 2024. All rights reserved.