Package studio.mevera.imperat.annotations.types


package studio.mevera.imperat.annotations.types
  • Annotation Interfaces
    Class
    Description
    Sets the argument type for a parameter/argument.
    Marks a command handling method to be executed asynchronously.
    Marks a type or parameter whose value is resolved from the execution context rather than parsed from the command input.
    Applies a per-invocation cooldown to a command method.
    Specifies a literal default value for a parameter when no explicit input is provided.
    Declares an external class that provides/supplies a default value for a parameter when the user omits an input.
    Marks a field to be injected with a dependency by the underlying framework.
    Attaches a human-readable description to a command, subcommand, or parameter.
    Declares a method as a handler for a specific Throwable type.
    Declares a command usage method and provides example invocations for help output.
    Annotation to mark a method as a return value resolver for a command.
    Declares external subcommand classes that should be attached to the annotated command container.
    Declares one or more flag names for a parameter or type.
    Specifies a format string for parsing and displaying the annotated parameter.
    Marks a parameter or type as greedy, consuming the remainder of the input instead of a single token (e.g., capturing full sentences).
    Marks a parameter as inherited from an ancestor command's pathway.
    Assigns a logical name to a command element or parameter.
    Marks a parameter or type as optional.
    Defines the execution or evaluation priority of an element.
     
    Declares a permission node required to access a command, subcommand, or parameter.
     
    Marks a method as a CommandProcessor, which is a method that is executed after the command is executed, regardless of the outcome.
    Constrains a numeric parameter or type to a minimum/maximum value.
    Declares a command entry point on a type or method.
    Marks a command or command class/method as secret, meaning it will not be listed in help commands and may be hidden from tab-completion results.
    Annotation to forward or redirect the usages of a command/subcommand to another command/subcommand, therefore, the forwarded command/subcommand will be executed the same with same input-parameters as the inheriting one.
    Declares a subcommand on a type or method, with optional attachment mode and suggestion-permission behavior.
    Provides a fixed set of inline suggestions for a parameter during tab-completion.
    Binds a parameter's suggestions to a named provider registered in the system.
    Declares one or more switch names for a boolean-like parameter.
    Container annotation for declaring one or more ArgValidator types on a command type or a specific parameter.
    Restricts a parameter to a predefined set of allowed string values.