Annotation Interface ImplementedBy


@Inherited @Target(TYPE) @Retention(RUNTIME) public @interface ImplementedBy
Used to indicate the base class that a generated event class extends from.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Gets the class which serves as the base class which the generated class for this event interface will extend.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Gets the priority for this annotation, relative to other annotations in the same hierarchy of the event interface.
  • Element Details

    • value

      Class<?> value
      Gets the class which serves as the base class which the generated class for this event interface will extend.
      Returns:
      The base class to use
    • priority

      int priority
      Gets the priority for this annotation, relative to other annotations in the same hierarchy of the event interface.

      The annotation with the highest priority will be used.

      Returns:
      The priority to use
      Default:
      1