Annotation Interface RequiredProvider


@Retention(RUNTIME) public @interface RequiredProvider
Declares that a PluginContract requires a specific core provider contract.

The provider API level is taken from the provider interface's API_LEVEL constant at compile time by the annotation processor.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends CoreProvider>