Annotation Type Decoder
@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 ClassesModifier and TypeClassDescriptionstatic @interfaceAnnotation to specify to use a json decoder.static @interfaceAnnotation to specify to use a legacy decoder.static @interfaceAnnotation to specify to use a MiniMessage decoder.static interfaceA provider of a decoder. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends Decoder.Provider> The class for a provider of a decoder.
-
Element Details
-
value
The class for a provider of a decoder.- Returns:
- The class for a provider of a decoder
- Since:
- 2.0.0
-