Annotation Interface Provides


@Documented @Target(TYPE) @Retention(RUNTIME) @API(status=STABLE, since="1.0") public @interface Provides
An annotation that, when applied to a type, indicates which type implementations are provided by the annotated type.
Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Id of the codec to use when serializing or deserializing provided annotated types.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Get the types that are implemented by the annotated type.
  • Field Details

    • CODEC_ID

      static final String CODEC_ID
      Id of the codec to use when serializing or deserializing provided annotated types.
      See Also:
  • Element Details

    • value

      @NotNull @NotNull Class<?>[] value
      Get the types that are implemented by the annotated type.
      Returns:
      the types that are implemented by the annotated type.