Annotation Interface ImplementationOf


@Target(TYPE) @Retention(RUNTIME) public @interface ImplementationOf
This annotation is used to mark a class as an implementation of the Loadable interface.

The ImplementationOf annotation is primarily used in the process of dependency file generation. These files are used to load data from the plugin into the main application. If these files are manually generated, the annotation is not required. However, if the dependency files are generated automatically, this annotation is necessary to establish the relationship between the plugin and the Loadable interface.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Loadable>
    Specifies the class that this plugin implements, which should extend Loadable.
  • Element Details

    • value

      Class<? extends Loadable> value
      Specifies the class that this plugin implements, which should extend Loadable.
      Returns:
      the Loadable class that this plugin implements