Annotation Interface Implementation


@Target(TYPE) @Retention(RUNTIME) public @interface Implementation
Indicates that the annotated class is a custom implementation that should replace the default implementation.
See Also:
  • Element Details

    • priority

      Priority priority
      Gets the Priority to register the Middleware with. If this implementation is not a subtype of Middleware, this field can be ignored.
      Returns:
      the Priority
      Default:
      NORMAL
    • annotation

      Class<? extends Annotation> annotation
      Gets the annotation the Validator should be mapped to. If this class is not a subtype of Validator, this field can be ignored.
      Returns:
      the annotation the Validator should be mapped to
      Default:
      com.github.kaktushose.jda.commands.annotations.constraints.Constraint.class