Annotation Type 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
      java.lang.Class<?> value
      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 priority
      Gets the priority for this annotation, relative to other annotations in the same hierarchy of the event interface.
    • Element Detail

      • value

        java.lang.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