add regex language annotation to Config.Pattern

This commit is contained in:
FalsePattern committed 2024-12-06 22:42:38 +01:00
1 parent 5bfd4082b3
commit 7ca7a7a7f2
1 file changed
+2
@@ -23,6 +23,7 @@
package com.falsepattern.lib.config;
import com.falsepattern.lib.StableAPI;
import org.intellij.lang.annotations.Language;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
@@ -342,6 +343,7 @@ public @interface Config {
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@interface Pattern {
@Language("RegExp")
@StableAPI.Expose String value();
}