Package net.kyori.adventure.key
Annotation Type KeyPattern
-
@Documented @Pattern("(?:([a-z0-9_\\-.]+:)?|:)[a-z0-9_\\-./]+") @Retention(CLASS) @Target({FIELD,LOCAL_VARIABLE,METHOD,PARAMETER}) public @interface KeyPattern
An annotation used to annotate elements that must match against a validKey
pattern.- Since:
- 4.14.0