Annotation Interface ExplicitReturnResolver


@Target(METHOD) @Retention(RUNTIME) public @interface ExplicitReturnResolver
Annotation to mark a method as a return value resolver for a command. This method will be called to resolve the return value of a command execution.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends ReturnResolver<?,?>>
    The class of the return resolver to use for this method.
  • Element Details

    • value

      Class<? extends ReturnResolver<?,?>> value
      The class of the return resolver to use for this method. This should be a class that implements the ReturnResolver interface.
      Returns:
      the class of the return resolver