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 valid
Key
pattern.- Since:
- 4.14.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
static @interface