Skip to content

Commit 7ca7a7a

Browse files
committed
add regex language annotation to Config.Pattern
1 parent 5bfd408 commit 7ca7a7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/falsepattern/lib/config/Config.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
package com.falsepattern.lib.config;
2424

2525
import com.falsepattern.lib.StableAPI;
26+
import org.intellij.lang.annotations.Language;
2627

2728
import java.lang.annotation.Documented;
2829
import java.lang.annotation.ElementType;
@@ -342,6 +343,7 @@
342343
@Retention(RetentionPolicy.RUNTIME)
343344
@Target(ElementType.FIELD)
344345
@interface Pattern {
346+
@Language("RegExp")
345347
@StableAPI.Expose String value();
346348
}
347349

0 commit comments

Comments
 (0)