Top Description Methods
org.intellij.lang.annotations

public @Interface RegExp

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE
@Language:RegExp
Imports
org.jetbrains.annotations.NonNls, java.lang.annotation.Documented, .Retention, .RetentionPolicy, .Target

Specifies that an element of the program represents a string that is a regular expression text supported by java.util.regex.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.
See Also
Language

Method Summary

Modifier and TypeMethod and Description
public @NonNls String
prefix()

A constant prefix that is assumed to be implicitly added before the regular expression.

public @NonNls String
suffix()

A constant suffix that is assumed to be implicitly added after the regular expression.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

prefixback to summary
public @NonNls String prefix()

A constant prefix that is assumed to be implicitly added before the regular expression.

Annotations
@NonNls
suffixback to summary
public @NonNls String suffix()

A constant suffix that is assumed to be implicitly added after the regular expression.

Annotations
@NonNls