mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 11:27:29 +00:00
add regex language annotation to Config.Pattern
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user