ArgHandlerContext

data class ArgHandlerContext(val handlerMethod: Method, val commandSenderIndex: Int?, val executedArgIndex: Int?, val commandArgIndex: Int?, val valuesIndex: Int?)

Defines the context required to execute a VitalCommand.ArgHandler annotated function.

Constructors

Link copied to clipboard
constructor(handlerMethod: Method, commandSenderIndex: Int?, executedArgIndex: Int?, commandArgIndex: Int?, valuesIndex: Int?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Internal function to correctly sort all injectable function parameters for an arg handler and return them as an Array, so they can later be used to call their appropriate mapped arg handler function.