@Documented @Target(PARAMETER) @Retention(RUNTIME) @API(status=STABLE, since="2.0.0") public @interface Decoder
Annotation used to specify a decoder for converting a string into a component.
Since:
2.0.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Annotation to specify to use a json decoder.
    static @interface 
    Annotation to specify to use a legacy decoder.
    static @interface 
    Annotation to specify to use a MiniMessage decoder.
    static interface 
    A provider of a decoder.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The class for a provider of a decoder.