Annotation Interface Resolve


@Target({METHOD,PARAMETER}) @Retention(CLASS) public @interface Resolve
Declares a local resolver method inside a command class, or binds a parameter to one. When placed on a method, it marks it as a resolver. When placed on a parameter, it binds the parameter to a specific resolver by name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the resolver.
  • Element Details

    • value

      String value
      The name of the resolver. If placed on a method, this specifies an optional name to reference this resolver. If placed on a parameter, this specifies the name of the resolver method to bind to.
      Returns:
      the resolver name
      Default:
      ""