Inspectopedia Help

Pattern Annotation not applicable

Reports when a @Pattern annotation is applied to an element with a type other than String.

Example:

@Pattern("\\d\\d") int i;

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

IntelliLang, 233.SNAPSHOT

Last modified: 13 July 2023