Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(CommandSourceStack, int, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- add(Object, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- add(CommandSender, int, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- ADD - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
- addConstructorStatements(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- addConstructorStatements(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Adds platform-specific constructor statements before the instance and manager are assigned.
- admin(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- admin(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- AdvancedCommands() - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
- aliases() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Command
-
Alternative names for this command.
- aliases() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
aliasesrecord component. - AllFeaturesCommand - Class in io.github.projectunified.craftcommand.example.bukkit
- AllFeaturesCommand - Class in io.github.projectunified.craftcommand.example.paper
- AllFeaturesCommand() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- AllFeaturesCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- AllFeaturesCommand.PanelCommands - Class in io.github.projectunified.craftcommand.example.bukkit
- AllFeaturesCommand.PanelCommands - Class in io.github.projectunified.craftcommand.example.paper
- AllFeaturesCommand.Point - Class in io.github.projectunified.craftcommand.example.bukkit
- AllFeaturesCommand.Point - Class in io.github.projectunified.craftcommand.example.paper
- allocate(String, String) - Method in class io.github.projectunified.craftcommand.processor.generator.LocalNames
-
Allocates a local for a parameter, based on the name the user declared for it.
- allowed(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
- allowed(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
- annotationType() - Method in interface io.github.projectunified.craftcommand.processor.extension.MethodAnnotationHandler
-
Gets the annotation type this handler targets.
- annotationType() - Method in interface io.github.projectunified.craftcommand.processor.extension.ParameterAnnotationHandler
-
Gets the annotation type this handler targets.
- annotationType() - Method in class io.github.projectunified.craftcommand.validation.processor.extension.MaxHandler
- annotationType() - Method in class io.github.projectunified.craftcommand.validation.processor.extension.MinHandler
- annotationType() - Method in class io.github.projectunified.craftcommand.validation.processor.extension.ValidateWithHandler
- anyMethod(CommandModel, Predicate<ExecutableElement>) - Static method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Traverses the methods of a command tree.
- argsVar() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Returns the value of the
argsVarrecord component. - ArgumentResolver<S,
T> - Interface in io.github.projectunified.craftcommand -
Converts string arguments into typed values and provides tab-completion suggestions.
- ArgumentResolverCommand - Class in io.github.projectunified.craftcommand.example.standalone
-
Command to test various ArgumentResolver features in standalone commands: - Single-width resolvers - Multi-width resolvers (2D, 3D vectors) - Zero-width contextual resolvers - Hierarchy / interface-based resolvers - Optional parameters with resolvers and default values - Combinations of multiple custom resolvers - Error throwing inside resolvers
- ArgumentResolverCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- ArgumentResolverCommand.BaseTag - Interface in io.github.projectunified.craftcommand.example.standalone
- ArgumentResolverCommand.CustomTag - Class in io.github.projectunified.craftcommand.example.standalone
- ArgumentResolverCommand.SessionToken - Class in io.github.projectunified.craftcommand.example.standalone
- ArgumentResolverCommand.StrictPort - Class in io.github.projectunified.craftcommand.example.standalone
- ArgumentResolverCommand.TargetUser - Class in io.github.projectunified.craftcommand.example.standalone
- ArgumentResolverCommand.Vec2D - Class in io.github.projectunified.craftcommand.example.standalone
- ArgumentResolverCommand.Vec3D - Class in io.github.projectunified.craftcommand.example.standalone
- arguments(CommandContext<CommandSourceStack>) - Static method in class io.github.projectunified.craftcommand.paper.PaperSuggestions
-
The parsed command arguments, dropping the leading command label when present.
- asOptional(String) - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Creates an optional copy of this parameter using the default value of a parent parameter.
B
- BaseCommand - Interface in io.github.projectunified.craftcommand
-
Common interface for all generated command wrappers.
- BaseCommandGenerator - Class in io.github.projectunified.craftcommand.processor.generator
-
Base generator shared by every platform.
- BaseCommandGenerator(ProcessingEnvironment) - Constructor for class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- BaseCommandProcessor - Class in io.github.projectunified.craftcommand.processor
-
Dispatches annotated classes to the two halves of the pipeline: the parser builds a
CommandModel, the generator writes the wrapper. - BaseCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- BLUE - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand.Color
- build() - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry.Builder
- buildAliasesExpression(CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- buildCommandInfo(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- builder(TypeName, int) - Static method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Starts building an entry.
- buildSenderCastHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Generates the sender cast helpers needed by a command class.
- buildSuggestionRouting(MethodSpec.Builder, CommandModel, String, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Generates tab completion routing for a command class, delegating to the suggestion generator.
- buildTypeSuggestionHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Generates the suggestion helpers of type-driven suggestions (boolean / platform built-ins).
- builtins() - Static method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
- BukkitCommandGenerator - Class in io.github.projectunified.craftcommand.processor.bukkit
-
Generates
*$BukkitCommandwrappers. - BukkitCommandGenerator(ProcessingEnvironment) - Constructor for class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- BukkitCommandManager - Class in io.github.projectunified.craftcommand.bukkit
-
CommandManager implementation for Bukkit plugins.
- BukkitCommandManager(JavaPlugin) - Constructor for class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
- BukkitCommandProcessor - Class in io.github.projectunified.craftcommand.processor.bukkit
-
Annotation processor for Bukkit command wrapper generation.
- BukkitCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- BukkitHelperMethods - Class in io.github.projectunified.craftcommand.processor.bukkit
-
Generates the Bukkit helper methods used by the wrappers: player/world lookup and suggestions.
- BukkitResolveCommand - Class in io.github.projectunified.craftcommand.example.bukkit
-
Covers @Resolve with different sender type variants.
- BukkitResolveCommand() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- BukkitResolveCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.bukkit
- BukkitResolveCommand.CustomString - Class in io.github.projectunified.craftcommand.example.bukkit
- BukkitSuggestCommand - Class in io.github.projectunified.craftcommand.example.bukkit
-
Covers @Suggest in Bukkit context: field, method, @Greedy+@Suggest, and suggest methods with different sender types.
- BukkitSuggestCommand() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- BukkitSuggestCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.bukkit
C
- CalculatorCommand - Class in io.github.projectunified.craftcommand.example.standalone
-
Comprehensive example command demonstrating all CraftCommand features.
- CalculatorCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- CalculatorCommand.AdvancedCommands - Class in io.github.projectunified.craftcommand.example.standalone
-
Nested subcommand class demonstrating class-level subcommands.
- CalculatorCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.standalone
- CalculatorCommand.MathOp - Enum Class in io.github.projectunified.craftcommand.example.standalone
- CalculatorCommand.Point - Class in io.github.projectunified.craftcommand.example.standalone
- CalculatorCommand.ResolveCommands - Class in io.github.projectunified.craftcommand.example.standalone
-
Nested subcommand class demonstrating
Resolvereferencing a resolver method defined in the outer class. - call(String, String, CodeBlock...) - Static method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Builds an instance method invocation, for example
instance.resolve(sender, arg). - clamped(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- CLIApp - Class in io.github.projectunified.craftcommand.example.standalone
- CLIApp() - Constructor for class io.github.projectunified.craftcommand.example.standalone.CLIApp
- colors - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- colors - Variable in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- colors - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- colors - Variable in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- colors - Variable in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- combo(Object, ArgumentResolverCommand.TargetUser, ArgumentResolverCommand.Vec2D, ArgumentResolverCommand.Vec3D, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- Command - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Defines a command or subcommand.
- CommandException - Exception Class in io.github.projectunified.craftcommand.exception
-
Thrown by command methods to signal validation or execution errors.
- CommandException(String) - Constructor for exception class io.github.projectunified.craftcommand.exception.CommandException
- CommandException(String, Throwable) - Constructor for exception class io.github.projectunified.craftcommand.exception.CommandException
- CommandGenerator - Interface in io.github.projectunified.craftcommand.processor.generator
-
Turns a parsed
CommandModelinto the platform wrapper source file. - CommandGeneratorFactory - Interface in io.github.projectunified.craftcommand.processor.generator
-
Creates the platform generator of one annotation-processing session.
- CommandInfo - Class in io.github.projectunified.craftcommand
-
Metadata for a command or subcommand (path, usage, description).
- CommandInfo(List<String>, String, String) - Constructor for class io.github.projectunified.craftcommand.CommandInfo
- CommandManager<S> - Class in io.github.projectunified.craftcommand
-
Base command manager.
- CommandManager() - Constructor for class io.github.projectunified.craftcommand.CommandManager
- CommandModel - Class in io.github.projectunified.craftcommand.processor.model
-
Model representing a parsed command or subcommand class.
- CommandModel(ClassName, String, String, List<String>, String, MethodModel, List<MethodModel>, List<CommandModel>, TypeElement) - Constructor for class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Creates a command model and indexes its nested subcommands.
- CommandParserFactory - Class in io.github.projectunified.craftcommand.processor.parser
-
Creates the parser used by a processor round.
- CommandParserFactory(ProcessingEnvironment) - Constructor for class io.github.projectunified.craftcommand.processor.parser.CommandParserFactory
-
Creates the parser factory for one processing session.
- commandSenderSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
- configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Configures the generated class declaration (superclass, interfaces).
- configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandGenerator
- contextLength - Variable in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand.CustomValue
- create(ProcessingEnvironment) - Method in interface io.github.projectunified.craftcommand.processor.generator.CommandGeneratorFactory
-
Creates the generator bound to the current processing environment.
- csSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSenderCommand
- csSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSenderTypeCommand
- cssSender(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSenderCommand
- cssSender(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSenderTypeCommand
- currentVar() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Suggestion
-
Returns the value of the
currentVarrecord component. - custom(CommandSourceStack, PaperBooleanCommand.CustomValue) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand
- CustomColor(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.SuggestCommand.CustomColor
- customMsg(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
- customMsg(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
- CustomSender(CommandSourceStack) - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand.CustomSender
- CustomSender(CommandSourceStack) - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand.CustomSender
- CustomSender(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.CustomSender
- CustomSender(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.CustomSender
- CustomSender(String, Object) - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.CustomSender
- CustomSender(String, CommandSender) - Constructor for class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand.CustomSender
- CustomSender(String, CommandSender) - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand.CustomSender
- CustomSender(CommandSender) - Constructor for class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand.CustomSender
- CustomString(String) - Constructor for class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand.CustomString
- CustomString(String) - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand.CustomString
- CustomTag(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.CustomTag
- CustomValue(String, int) - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand.CustomValue
D
- declaredName(ParameterModel) - Static method in class io.github.projectunified.craftcommand.processor.generator.LocalNames
-
The identifier a parameter was declared with in the command class.
- Default - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Dual-purpose annotation.
- DEFAULT_PERMISSION_MESSAGE - Static variable in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- defaultAndGreedy(CommandSourceStack, String, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- defaultAndGreedy(Object, String, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- defaultAndGreedy(CommandSender, String, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- defaultMax(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- defaultMin(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- defaultMode(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- defaultMode(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- defaultName(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- defaultResolve(BukkitResolveCommand.CustomSender, BukkitResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- defaultResolve(PaperResolveCommand.CustomSender, PaperResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- defaultSender(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSenderTypeCommand
- defaultSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
- defaultSuggest(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- defaultValue() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
defaultValuerecord component. - defaultVw(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- description() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Command
-
Command description.
- description() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
descriptionrecord component. - descriptionCheck(Object) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- display(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.ResolveCommands
- divide(Object, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- DIVIDE - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
E
- echo(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- echo(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Greedy on String (joins remaining args with spaces).
- echo(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- EdgeCaseCommand - Class in io.github.projectunified.craftcommand.example.standalone
-
Covers edge cases: Greedy zero args, Greedy+Default, enum param, description assertion, Default+Name, multiple aliases.
- EdgeCaseCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- EdgeCaseCommand.Color - Enum Class in io.github.projectunified.craftcommand.example.standalone
- element() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
elementrecord component. - element() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
elementrecord component. - emitParse(MethodSpec.Builder, TypeName, String, String) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Emits parse statements into the generated method.
- emitPlatformMultiResolution(MethodSpec.Builder, TypeName, String, String, CodeBlock, String) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Emits platform-specific multi-argument resolution code.
- emitPlatformSuggestions(MethodSpec.Builder, TypeName, CodeBlock) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Emits platform-specific suggestion code.
- Empty() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.NestedPermissionCommand.Empty
- Entry(TypeName, int, String, Function<String, CodeBlock>, Function<CodeBlock, CodeBlock>, BiConsumer<MethodSpec.Builder, TypeSupport.Resolution>, BiConsumer<MethodSpec.Builder, TypeSupport.Suggestion>) - Constructor for record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Creates an instance of a
Entryrecord class. - enumConstants() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
enumConstantsrecord component. - enumDefault(Object, EdgeCaseCommand.Color) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- enumOp(Object, CalculatorCommand.MathOp, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates enum parameter resolution (via registerProvider in CLIApp).
- enumParam(CommandSourceStack, PaperBuiltinCommand.Mode) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand
- enumParam(Object, EdgeCaseCommand.Color) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- equals(Object) - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Suggestion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Indicates whether some other object is "equal to" this one.
- ExamplePlugin - Class in io.github.projectunified.craftcommand.example.bukkit
- ExamplePlugin - Class in io.github.projectunified.craftcommand.example.paper
- ExamplePlugin() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.ExamplePlugin
- ExamplePlugin() - Constructor for class io.github.projectunified.craftcommand.example.paper.ExamplePlugin
- execute(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.PanelCommands
- execute(CommandSourceStack, Player) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- execute(Object) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
- execute(Object, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Default action: addition of two numbers.
- execute(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.ResolveCommands
- execute(Object, String[]) - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Executes the command.
- execute(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.PanelCommands
- execute(CommandSender, Player) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- executeHelper(ClassName) - Static method in class io.github.projectunified.craftcommand.processor.generator.Naming
-
Gets the execution helper method name for a nested subcommand class.
F
- FAST - Enum constant in enum class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand.Mode
- FAST - Enum constant in enum class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand.Mode
- filterSuggestions(Collection<String>, String) - Static method in class io.github.projectunified.craftcommand.CommandManager
-
Filters suggestions by prefix (case-insensitive).
- findMethod(TypeElement, String) - Static method in class io.github.projectunified.craftcommand.processor.parser.ResolverLookup
-
Find a method by name on the given type element.
- findModel(TypeElement) - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Finds the model of a class within this command tree.
- findSuggestMethod(TypeElement, String) - Static method in class io.github.projectunified.craftcommand.processor.parser.ResolverLookup
-
Find a suggest method by name and validate its signature.
- firstParamIsSender(ExecutableElement) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- firstParamIsSender(ExecutableElement, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- flag(CommandSourceStack, boolean) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand
- formatMessage(String, String, Object...) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Formats a message by key.
- fullGreedy(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- fullGreedy(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
G
- gameMode(CommandSourceStack, GameMode) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand
- generate(TypeSpec.Builder, CommandModel) - Static method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitHelperMethods
-
Generate all needed helpers into the given TypeSpec, based on which types the command uses.
- generate(CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- generate(CommandModel) - Method in interface io.github.projectunified.craftcommand.processor.generator.CommandGenerator
-
Writes the wrapper class of the given command model.
- generateEntryMethods(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- generateEntryMethods(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Adds the platform entry points (
execute,tabComplete,getCommandNode, ...). - generateEntryMethods(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- generateEntryMethods(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandGenerator
- generateExecuteMethodBody(MethodSpec.Builder, CommandModel, String) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- generateExecution(MethodSpec.Builder, CommandModel, MethodModel, String, CommandModel) - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Emits the execution body for one method.
- generateHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Generates the execution and suggestion routing plus the sender helpers of the whole command tree.
- generateHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- generatePlatformHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- generatePlatformHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Adds platform helper methods referenced from parameter types or entry points.
- generateResolverInvocation(MethodSpec.Builder, MethodModel, CommandModel, TypeName, String, CodeBlock, List<String>, boolean) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Emits the call to a resolver method that produces a parameter value.
- generateSenderResolution(MethodSpec.Builder, CommandModel, ParameterModel, TypeName, String) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Emits the resolution of the command sender: a named
@Resolvemethod, a registered sender resolver, or a platform cast. - generateSubcommandClassExecutors(TypeSpec.Builder, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- generateSubcommandFieldsAndConstructors(CommandModel, TypeSpec.Builder, MethodSpec.Builder, String) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- generateUnknownSubcommandMessage(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Emits the message shown when a command without arguments has no default action.
- get(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns the entry for a type.
- getAliases() - Method in interface io.github.projectunified.craftcommand.paper.PaperCommand
-
Gets all registered aliases for the command.
- getAliases() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the aliases of the command.
- getAliases() - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Gets the aliases of the command.
- getBuiltInWidth(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getClassName() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the ClassName of the command class.
- getCommand(String) - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
-
Gets a registered command by its label or alias.
- getCommandInfo() - Method in interface io.github.projectunified.craftcommand.BaseCommand
-
Gets the command metadata.
- getCommandInfo(Object) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Gets command metadata for a registered command instance.
- getCommandName() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the primary name of the command.
- getCommandNode() - Method in interface io.github.projectunified.craftcommand.paper.PaperCommand
-
Gets the Brigadier command node.
- getCommands() - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
-
Gets all registered commands.
- getDefaultMethod() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the default execution method.
- getDelegate() - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand.CustomSender
- getDelegate() - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand.CustomSender
- getDescription() - Method in class io.github.projectunified.craftcommand.CommandInfo
-
Description string.
- getDescription() - Method in interface io.github.projectunified.craftcommand.paper.PaperCommand
-
Gets the description of the command.
- getDescription() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the command description.
- getDescription() - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Gets the description of the command.
- getElement() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the underlying Java TypeElement of this class.
- getGeneratorFactory() - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
The factory creating this platform's generator.
- getGeneratorFactory() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- getGeneratorFactory() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- getGeneratorFactory() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- getInstanceVarExpression(CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getLocalResolverMaxWidth(MethodModel, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getLocalResolverMinWidth(MethodModel, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
The
CommandManagertype, including its sender type argument. - getManagerType() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandGenerator
- getMessage() - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand.CustomString
- getMessage() - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand.CustomString
- getMessages() - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.CustomSender
- getMessages() - Method in class io.github.projectunified.craftcommand.example.standalone.TestSender
- getModes() - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getModes(String[]) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Method-based suggestion provider with current input.
- getName() - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand.CustomSender
- getName() - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand.CustomSender
- getName() - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.CustomSender
- getName() - Method in class io.github.projectunified.craftcommand.example.standalone.TestSender
- getName() - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Gets the primary name of the command.
- getNearPlayers(Player, String[]) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- getNearPlayers(Player, String[]) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- getNestedIndex() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets this model and every nested subcommand model indexed by their class element.
- getNestedSubcommands() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the nested class-level subcommands.
- getNoArgShapes() - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- getPackageName() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the package name of the command class.
- getParameterSuggestionMethodName(CommandModel, MethodModel, int) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getPath() - Method in class io.github.projectunified.craftcommand.CommandInfo
-
Command path (e.g.
- getRegisteredCommands() - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
-
Gets all registered Bukkit commands as an unmodifiable map.
- getRegisteredCommands() - Method in class io.github.projectunified.craftcommand.paper.PaperCommandManager
-
Gets all registered Paper commands as an unmodifiable list.
- getResolver(Class<T>) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Gets the resolver for a type.
- getResolverInstanceExpr(MethodModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getResolverParamSuggestionMethodName(CommandModel, ParameterModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getResolverSenderExpression(ExecutableElement, String, String, TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getSenderExpression(String) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Wraps the raw sender variable in the platform expression that yields the sender object.
- getSenderExpression(String) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- getSenderType() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the type of the sender parameter.
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
The platform's native sender type.
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandGenerator
- getShapes(String[]) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- getShapes(String[]) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getShapes(String[]) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- getShapesForSender(Object) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- getShapesFull(Object, String[], String[]) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- getShapesWithContext(String[], String[]) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getShapesWithContext(String[], String[]) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- getShapesWithCSS(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getShapesWithCustom(PaperSuggestCommand.CustomSender, String[]) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getShapesWithCustom(CommandSender, String[]) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- getShapesWithPlayer(Player, String[]) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- getShapesWithPlayer(Player, String[]) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getShapesWithSender(Object, String[]) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- getShapesWithSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- getShapesWithSender(CommandSender, String[]) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- getSubcommandFieldName(CommandModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getSubcommandNames(CommandModel) - Static method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- getSubcommands() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the method-level subcommands.
- getTag() - Method in interface io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.BaseTag
- getTag() - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.CustomTag
- getUsage() - Method in class io.github.projectunified.craftcommand.CommandInfo
-
Usage syntax (e.g.
- getWidth() - Method in interface io.github.projectunified.craftcommand.ArgumentResolver
-
Number of arguments this resolver consumes.
- getWidth(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns the argument width of a type.
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
The suffix appended to the command class name, for example
"$BukkitCommand". - getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandGenerator
- greedy() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
greedyrecord component. - Greedy - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Makes a parameter consume all remaining arguments.
- greedyDefault(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- greedyEmpty(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- greedyNameSuggest(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- greedyResolve(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- greedyResolveWithPrefix(Object, String, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- greedySuggest(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- greedySuggest(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- greedySuggest(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- GREEN - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand.Color
H
- handle(A, MethodModel, String, String, MethodSpec.Builder) - Method in interface io.github.projectunified.craftcommand.processor.extension.MethodAnnotationHandler
-
Injects custom code (e.g. permission/cooldown checks) into the generated method execution code block.
- handle(A, ParameterModel, String, String, String, MethodSpec.Builder) - Method in interface io.github.projectunified.craftcommand.processor.extension.ParameterAnnotationHandler
-
Injects custom code (e.g. validation) into the generated method execution code block.
- handle(Max, ParameterModel, String, String, String, MethodSpec.Builder) - Method in class io.github.projectunified.craftcommand.validation.processor.extension.MaxHandler
- handle(Min, ParameterModel, String, String, String, MethodSpec.Builder) - Method in class io.github.projectunified.craftcommand.validation.processor.extension.MinHandler
- handle(ValidateWith, ParameterModel, String, String, String, MethodSpec.Builder) - Method in class io.github.projectunified.craftcommand.validation.processor.extension.ValidateWithHandler
- handleException(Object, Exception) - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
- handleException(S, Exception) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Handles an exception thrown by a command.
- hashCode() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Suggestion
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Returns a hash code value for this object.
- hasPlatformSuggestions(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns whether the platform provides suggestions for a type.
- hello(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- hello(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
I
- i18nKey(String) - Static method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- implicitResolve(Object, ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- index() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Returns the value of the
indexrecord component. - info(Player) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.PanelCommands
- info(Player) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.PanelCommands
- init(ProcessingEnvironment) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- instantiateWrapper(Object, String, Class<W>) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Instantiates a generated wrapper through the command class's own class loader.
- io.github.projectunified.craftcommand - package io.github.projectunified.craftcommand
-
Core runtime for CraftCommand.
- io.github.projectunified.craftcommand.annotation - package io.github.projectunified.craftcommand.annotation
-
Core annotations for defining commands with CraftCommand.
- io.github.projectunified.craftcommand.bukkit - package io.github.projectunified.craftcommand.bukkit
-
Bukkit platform runtime for CraftCommand.
- io.github.projectunified.craftcommand.bukkit.annotation - package io.github.projectunified.craftcommand.bukkit.annotation
-
Bukkit-specific annotations for CraftCommand.
- io.github.projectunified.craftcommand.example.bukkit - package io.github.projectunified.craftcommand.example.bukkit
- io.github.projectunified.craftcommand.example.paper - package io.github.projectunified.craftcommand.example.paper
- io.github.projectunified.craftcommand.example.standalone - package io.github.projectunified.craftcommand.example.standalone
- io.github.projectunified.craftcommand.exception - package io.github.projectunified.craftcommand.exception
-
Exception types for command errors.
- io.github.projectunified.craftcommand.paper - package io.github.projectunified.craftcommand.paper
-
Paper platform runtime for CraftCommand.
- io.github.projectunified.craftcommand.processor - package io.github.projectunified.craftcommand.processor
-
Base annotation processor for CraftCommand.
- io.github.projectunified.craftcommand.processor.bukkit - package io.github.projectunified.craftcommand.processor.bukkit
-
Bukkit-specific annotation processor for CraftCommand.
- io.github.projectunified.craftcommand.processor.extension - package io.github.projectunified.craftcommand.processor.extension
-
SPI interfaces for extending the annotation processor.
- io.github.projectunified.craftcommand.processor.generator - package io.github.projectunified.craftcommand.processor.generator
-
Code generation half of the annotation processor.
- io.github.projectunified.craftcommand.processor.model - package io.github.projectunified.craftcommand.processor.model
-
Processor model classes that represent command metadata at compile time.
- io.github.projectunified.craftcommand.processor.paper - package io.github.projectunified.craftcommand.processor.paper
-
Paper-specific annotation processor for CraftCommand.
- io.github.projectunified.craftcommand.processor.parser - package io.github.projectunified.craftcommand.processor.parser
-
Annotation-reading half of the annotation processor.
- io.github.projectunified.craftcommand.processor.standalone - package io.github.projectunified.craftcommand.processor.standalone
-
Standalone-specific annotation processor for CraftCommand.
- io.github.projectunified.craftcommand.standalone - package io.github.projectunified.craftcommand.standalone
-
Standalone platform runtime for CraftCommand.
- io.github.projectunified.craftcommand.validation.annotation - package io.github.projectunified.craftcommand.validation.annotation
-
Validation annotations for CraftCommand parameters.
- io.github.projectunified.craftcommand.validation.processor.extension - package io.github.projectunified.craftcommand.validation.processor.extension
- isBooleanType(TypeName) - Static method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns whether the type is boolean.
- isBuiltIn(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns whether the type is registered.
- isDefault() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
isDefaultrecord component. - isField(TypeElement, String) - Static method in class io.github.projectunified.craftcommand.processor.parser.ResolverLookup
-
Checks if a type element declares a field with the given name.
- isI18nKey(String) - Static method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- isIntegerType(String) - Static method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns true if the given type name is an integer numeric primitive or wrapper type.
- isNumericType(String) - Static method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns true if the given type name is a numeric primitive or wrapper type.
- isSenderBaseType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- isSenderBaseType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.SenderTypeRegistry
-
Checks if the type is the platform's base sender type.
- isSenderParam(TypeName, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- isSenderType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- isSenderType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.SenderTypeRegistry
-
Checks if the type is a recognized sender type.
- isStringArray(TypeMirror) - Static method in class io.github.projectunified.craftcommand.processor.TypeNames
- items - Variable in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
L
- literal() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
literalrecord component. - literal(TypeName, String) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns the literal expression for a default value.
- literal(Function<String, CodeBlock>) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry.Builder
-
Sets the literal expression factory.
- loadMethodHandlers(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.generator.SpiLoader
- loadParameterHandlers(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.generator.SpiLoader
- LocalNames - Class in io.github.projectunified.craftcommand.processor.generator
-
Allocates the local variable names of one generated command slot.
- LocalNames() - Constructor for class io.github.projectunified.craftcommand.processor.generator.LocalNames
- logarithm(Object, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
-
Demonstrates nested class with its own @Default parameters.
M
- main(String[]) - Static method in class io.github.projectunified.craftcommand.example.standalone.CLIApp
- Max - Annotation Interface in io.github.projectunified.craftcommand.validation.annotation
-
Validates that a numeric parameter value is at most the specified maximum.
- maxCustomMessage(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- MaxHandler - Class in io.github.projectunified.craftcommand.validation.processor.extension
-
Built-in validation handler for
@Maxannotations. - MaxHandler() - Constructor for class io.github.projectunified.craftcommand.validation.processor.extension.MaxHandler
- maxOnly(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- message() - Element in annotation interface io.github.projectunified.craftcommand.bukkit.annotation.Permission
-
The custom error message when permission is denied.
- message() - Element in annotation interface io.github.projectunified.craftcommand.validation.annotation.Max
-
Custom message or translation key when validation fails.
- message() - Element in annotation interface io.github.projectunified.craftcommand.validation.annotation.Min
-
Custom message or translation key when validation fails.
- message() - Element in annotation interface io.github.projectunified.craftcommand.validation.annotation.ValidateWith
-
Custom message or translation key when validation fails.
- MethodAnnotationHandler<A> - Interface in io.github.projectunified.craftcommand.processor.extension
-
SPI handler to inject custom validation or execution logic based on method-level annotations.
- MethodModel - Record Class in io.github.projectunified.craftcommand.processor.model
-
Model representing a command or subcommand method.
- MethodModel(String, String, List<String>, String, ParameterModel, List<ParameterModel>, boolean, ExecutableElement) - Constructor for record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Creates an instance of a
MethodModelrecord class. - methodName() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
methodNamerecord component. - methodPerm(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
- methodPerm(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
- Min - Annotation Interface in io.github.projectunified.craftcommand.validation.annotation
-
Validates that a numeric parameter value is at least the specified minimum.
- minCustomMessage(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- MinHandler - Class in io.github.projectunified.craftcommand.validation.processor.extension
-
Built-in validation handler for
@Minannotations. - MinHandler() - Constructor for class io.github.projectunified.craftcommand.validation.processor.extension.MinHandler
- minMax(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- minOnly(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- minVwStack(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- mode(CommandSourceStack, PaperEnumCommand.Mode) - Method in class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand
- mode(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- mode(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- modes - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- modes - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- modes - Variable in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Field-based suggestion provider for mode names.
- multiAlias(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- multiply(Object, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- MULTIPLY - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
N
- name - Variable in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand.CustomSender
- name - Variable in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand.CustomSender
- name - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.TargetUser
- name - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.CustomSender
- name - Variable in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand.CustomColor
- name() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
namerecord component. - Name - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Overrides the parameter name in usage strings and error messages.
- namedEcho(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- namedEcho(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- namedMode(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- namedMode(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- namedResolve(BukkitResolveCommand.CustomSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- namedResolve(PaperResolveCommand.CustomSender) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- namedResolve(Object, ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- namedResolver(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- nameSuggest(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- nameSuggest(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- Naming - Class in io.github.projectunified.craftcommand.processor.generator
-
Pure naming utilities for generated fields, methods, and identifiers.
- NestedPermissionCommand - Class in io.github.projectunified.craftcommand.example.bukkit
-
Covers a nested command class with its own permission and no methods.
- NestedPermissionCommand() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.NestedPermissionCommand
- NestedPermissionCommand.Empty - Class in io.github.projectunified.craftcommand.example.bukkit
- nodes() - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Returns the value of the
nodesrecord component.
O
- onBeforeExecute(MethodSpec.Builder, Element, String) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandGenerator
- onBeforeExecute(MethodSpec.Builder, Element, String) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Runs before a command method is executed, for example a permission check.
- onBeforeExecute(MethodSpec.Builder, Element, String) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- onDisable() - Method in class io.github.projectunified.craftcommand.example.bukkit.ExamplePlugin
- onEnable() - Method in class io.github.projectunified.craftcommand.example.bukkit.ExamplePlugin
- onEnable() - Method in class io.github.projectunified.craftcommand.example.paper.ExamplePlugin
- operators - Variable in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Field-based suggestion provider for operator names.
- optional() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
optionalrecord component. - optional(CommandSourceStack, PaperEnumCommand.Mode) - Method in class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand
- optionalLocation(CommandSender, Location) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- optUser(Object, ArgumentResolverCommand.TargetUser) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- optVec(Object, ArgumentResolverCommand.Vec2D) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- originalSender - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.SessionToken
- overridePerm(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
- overridePerm(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
P
- PanelCommands() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.PanelCommands
- PanelCommands() - Constructor for class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.PanelCommands
- PaperBooleanCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers a boolean argument on Paper: native Brigadier argument and boolean suggestions.
- PaperBooleanCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand
- PaperBooleanCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.paper
- PaperBooleanCommand.CustomValue - Class in io.github.projectunified.craftcommand.example.paper
- PaperBuiltinCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers Paper's native argument types.
- PaperBuiltinCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand
- PaperBuiltinCommand.Mode - Enum Class in io.github.projectunified.craftcommand.example.paper
- PaperCommand - Interface in io.github.projectunified.craftcommand.paper
-
Interface for Paper command wrappers.
- PaperCommandGenerator - Class in io.github.projectunified.craftcommand.processor.paper
-
Generates
*$PaperCommandwrappers with a native Brigadier tree. - PaperCommandGenerator(ProcessingEnvironment) - Constructor for class io.github.projectunified.craftcommand.processor.paper.PaperCommandGenerator
- PaperCommandManager - Class in io.github.projectunified.craftcommand.paper
-
CommandManager implementation for Paper plugins using Brigadier.
- PaperCommandManager(JavaPlugin) - Constructor for class io.github.projectunified.craftcommand.paper.PaperCommandManager
-
Constructs a PaperCommandManager.
- PaperCommandProcessor - Class in io.github.projectunified.craftcommand.processor.paper
-
Annotation processor for Paper command wrapper generation.
- PaperCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- PaperEnumCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers native enum arguments and suggestions on Paper.
- PaperEnumCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand
- PaperEnumCommand.Mode - Enum Class in io.github.projectunified.craftcommand.example.paper
- PaperExecutionSource - Record Class in io.github.projectunified.craftcommand.processor.paper
-
Emits the execution body of one Brigadier node chain: sender resolution, parameter retrieval from the Brigadier context, and the call into the command instance.
- PaperExecutionSource(PaperCommandGenerator, List<PaperCommandGenerator.NodeInfo>, int) - Constructor for record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Creates an instance of a
PaperExecutionSourcerecord class. - PaperPermissionCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers @Permission: class-level, method-level, custom message, method override.
- PaperPermissionCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
- PaperResolveCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers @Resolve with different sender type variants for Paper.
- PaperResolveCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- PaperResolveCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.paper
- PaperResolveCommand.CustomString - Class in io.github.projectunified.craftcommand.example.paper
- PaperSenderCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers Paper-specific sender resolution: CommandSourceStack, Player via cast helper.
- PaperSenderCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperSenderCommand
- PaperSenderTypeCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers sender type variations: CommandSourceStack, CommandSender, mixed.
- PaperSenderTypeCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperSenderTypeCommand
- PaperSuggestCommand - Class in io.github.projectunified.craftcommand.example.paper
-
Covers @Suggest in Paper context: field, method, @Greedy+@Suggest, and suggest methods with different sender types.
- PaperSuggestCommand() - Constructor for class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- PaperSuggestCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.paper
- PaperSuggestions - Class in io.github.projectunified.craftcommand.paper
-
Brigadier suggestion support shared by every generated Paper command wrapper.
- ParameterAnnotationHandler<A> - Interface in io.github.projectunified.craftcommand.processor.extension
-
SPI handler to inject custom validation or execution logic based on parameter-level annotations.
- ParameterModel - Record Class in io.github.projectunified.craftcommand.processor.model
-
Model representing a command method parameter.
- ParameterModel(String, TypeMirror, List<String>, boolean, boolean, String, String, boolean, String, MethodModel, MethodModel, VariableElement) - Constructor for record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Creates an instance of a
ParameterModelrecord class. - parameters() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
parametersrecord component. - parse(Object, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Greedy on non-String type (joins remaining args, then parses).
- parse(TypeElement) - Method in class io.github.projectunified.craftcommand.processor.parser.CommandParserFactory
-
Parses a class annotated with
@Command. - parsedNodeCount() - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Returns the value of the
parsedNodeCountrecord component. - parseExpr() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
parseExprrecord component. - parseExpr(TypeName, CodeBlock) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns an expression that parses an argument.
- parseExpr(TypeName, String) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns an expression that parses an argument string.
- parseExpr(Function<CodeBlock, CodeBlock>) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry.Builder
-
Sets the parse expression factory.
- Permission - Annotation Interface in io.github.projectunified.craftcommand.bukkit.annotation
-
Annotation specifying the required Bukkit permission to execute a command or subcommand.
- PERMISSION_KEY - Static variable in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- PermissionCommand - Class in io.github.projectunified.craftcommand.example.bukkit
-
Covers @Permission: class-level, method-level, custom message, method override.
- PermissionCommand() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
- platformMultiResolution() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
platformMultiResolutionrecord component. - platformMultiResolution(BiConsumer<MethodSpec.Builder, TypeSupport.Resolution>) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry.Builder
-
Sets the multi-argument resolution emitter.
- platformSuggestions() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
platformSuggestionsrecord component. - platformSuggestions(BiConsumer<MethodSpec.Builder, TypeSupport.Suggestion>) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry.Builder
-
Sets the suggestion emitter.
- playerSender(Player) - Method in class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
- Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.Point
- Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.Point
- Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.Point
- Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
- port - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.StrictPort
- port(Object, ArgumentResolverCommand.StrictPort) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- power(Object, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
- primitiveDefault() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
primitiveDefaultrecord component. - primitiveDefault(TypeName) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Returns the primitive default literal.
- primitiveDefault(String) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry.Builder
-
Sets the primitive default expression.
- print(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Default with default value on String.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- processor() - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Returns the value of the
processorrecord component.
R
- range(CommandSourceStack, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- range(CommandSender, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- raw - Variable in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand.CustomValue
- RED - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand.Color
- register(PaperCommand) - Method in class io.github.projectunified.craftcommand.paper.PaperCommandManager
-
Registers a PaperCommand wrapper.
- register(TypeSupport.Entry) - Method in class io.github.projectunified.craftcommand.processor.generator.TypeSupport
-
Registers a platform-specific type entry (e.g.
- register(Object) - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
- register(Object) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Registers a command.
- register(Object) - Method in class io.github.projectunified.craftcommand.paper.PaperCommandManager
- register(Object) - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
- register(Command) - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
-
Registers a Bukkit Command object to the server's command map.
- registerCommand(StandaloneCommand) - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
-
Registers a StandaloneCommand instance and its aliases.
- registerProvider(Function<Class<?>, ArgumentResolver<S, ?>>) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Registers a dynamic resolver provider.
- registerResolver(Class<T>, ArgumentResolver<S, T>) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Registers a resolver for a specific type.
- registerSenderBaseType(String) - Method in class io.github.projectunified.craftcommand.processor.generator.SenderTypeRegistry
-
Register the platform's base sender type (e.g.
- registerSenderResolver(Class<T>, Function<S, T>) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Registers a global sender resolver.
- registerSenderType(String) - Method in class io.github.projectunified.craftcommand.processor.generator.SenderTypeRegistry
-
Register a sender type that can be obtained from the base type (e.g.
- registerWrapper(Object, BaseCommand) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Associates a command instance with its generated wrapper.
- repeat(Object, String, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Default with default value on int.
- Resolution(String, String, CodeBlock, String) - Constructor for record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Creates an instance of a
Resolutionrecord class. - resolve(CommandSourceStack, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolve(CommandSender, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolve(S, String[], String[]) - Method in interface io.github.projectunified.craftcommand.ArgumentResolver
-
Resolves a parameter value from the current argument.
- Resolve - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Binds a parameter to a local resolver method, or marks a method as a resolver.
- resolveAndDefault(CommandSourceStack, AllFeaturesCommand.Point, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveAndDefault(Object, CalculatorCommand.Point, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolveAndDefault(CommandSender, AllFeaturesCommand.Point, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveAndSuggest(CommandSourceStack, AllFeaturesCommand.Point, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveAndSuggest(Object, CalculatorCommand.Point, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolveAndSuggest(CommandSender, AllFeaturesCommand.Point, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveAndValidate(CommandSourceStack, AllFeaturesCommand.Point, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveAndValidate(Object, CalculatorCommand.Point, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolveAndValidate(CommandSender, AllFeaturesCommand.Point, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveClamped(int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveClamped(int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveClamped(int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolveClamped(CommandSourceStack, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveClamped(CommandSender, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveColor(String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- resolveColorWithSender(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- ResolveCommand - Class in io.github.projectunified.craftcommand.example.standalone
-
Covers Resolve combinations: named, sender-level, Default, Min, ValidateWith, implicit by return type, nested.
- ResolveCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- ResolveCommand.CustomSender - Class in io.github.projectunified.craftcommand.example.standalone
- ResolveCommand.Point - Class in io.github.projectunified.craftcommand.example.standalone
- ResolveCommands() - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.ResolveCommands
- resolveCustomSender(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- resolveCustomSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- resolved(PaperBooleanCommand.CustomSender, boolean) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand
- resolveDefault(CommandSourceStack, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveDefault(Object, ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolveDefault(CommandSender, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveFlag(PaperBooleanCommand.CustomSender, boolean) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand
- resolveGreedy(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveGreedy(String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveGreedy(String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveGreedy(String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolveGreedy(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveImplicit(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolveMin(Object, ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolveMode(String, double) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- resolveName() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
resolveNamerecord component. - resolveNamed(CommandSourceStack, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveNamed(CommandSender, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveParam(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- resolveParameter(S, Class<T>, String[], int[], String, boolean, String) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Resolves a parameter, advancing the index holder.
- resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Local resolver for Point type (multi-arg, width=2).
- resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolvePointDefault(double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolvePointDefault(double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolvePointDefault(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolvePointNamed(double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolvePointNamed(double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolvePointNamed(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolvePointSuggest(String, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolvePointSuggest(String, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolvePointSuggest(String, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolvePointWithSender(CommandSourceStack, double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolvePointWithSender(Object, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolvePointWithSender(CommandSender, double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- ResolverLookup - Class in io.github.projectunified.craftcommand.processor.parser
-
Compile-time element lookups for resolver methods, suggest methods, and fields.
- resolverMethod() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
resolverMethodrecord component. - resolveSender(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand
- resolveSender(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- resolveSender(Class<T>, S) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Resolves the sender to the target type using registered sender resolvers.
- resolveSender(Object) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Local resolver for CustomSender type.
- resolveSender(Object) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolveSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- resolveSenderSuggest(Object, SuggestCommand.CustomColor) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- resolveSenderWithArgs(Object, String[]) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- resolveString(String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- resolveString(String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- resolveStringWithSender(BukkitResolveCommand.CustomSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- resolveStringWithSender(PaperResolveCommand.CustomSender, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- resolveSuggest(CommandSourceStack, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- resolveSuggest(Object, SuggestCommand.CustomColor) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- resolveSuggest(CommandSender, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- resolveVw(Object, ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- resolveWithValidator(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- runMode(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates method-based @Suggest with sender, args, current parameters.
- runOp(Object, String, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates field-based @Suggest for operator selection.
- runParameterAnnotationHandlers(ParameterModel, String, String, String, MethodSpec.Builder) - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
-
Runs the SPI parameter handlers of a resolved parameter.
- runPoint(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates parameter-level @Resolve with named method.
S
- sameSender(CommandSourceStack, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- sameSender(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- sameSender(CommandSender, AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- sanitizeIdentifier(String) - Static method in class io.github.projectunified.craftcommand.processor.generator.Naming
-
Sanitizes a string into a valid Java identifier.
- secret(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- secret(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- sender(String, TypeMirror, String, MethodModel, VariableElement) - Static method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Creates the sender parameter, which has no command argument, default, or suggestion state.
- senderArgs(CalculatorCommand.CustomSender) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- senderParameter() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
senderParameterrecord component. - senderResolve(ResolveCommand.CustomSender) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- SenderTypeCommand - Class in io.github.projectunified.craftcommand.example.bukkit
-
Covers sender type variations: Player, CommandSender, mixed.
- SenderTypeCommand() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
- senderTypeRegistry() - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- SenderTypeRegistry - Class in io.github.projectunified.craftcommand.processor.generator
-
Registry for sender types supported by a platform.
- SenderTypeRegistry() - Constructor for class io.github.projectunified.craftcommand.processor.generator.SenderTypeRegistry
- senderVar() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Returns the value of the
senderVarrecord component. - sendMessage(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.paper.PaperCommandManager
- sendMessage(Object, String) - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
- sendMessage(Object, String, String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Name to override parameter name in usage messages.
- sendMessage(String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand.CustomSender
- sendMessage(String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand.CustomSender
- sendMessage(String) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.CustomSender
- sendMessage(String) - Method in class io.github.projectunified.craftcommand.example.standalone.TestSender
- sendMessage(CommandSender, String) - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
- sendMessage(S, String) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Sends an already formatted message.
- sendMessage(S, String, String, Object...) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Formats a message and sends it through the platform handler.
- session(ArgumentResolverCommand.SessionToken, String) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- SessionToken(Object, String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.SessionToken
- setCoordinate(Object, double, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @ValidateWith with custom validation method.
- setLevel(Object, int, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Min and @Max validation on numeric types.
- simpleName(TypeName) - Static method in class io.github.projectunified.craftcommand.processor.generator.Naming
-
Gets the simple name of a type name.
- SLOW - Enum constant in enum class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand.Mode
- SLOW - Enum constant in enum class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand.Mode
- source - Variable in class io.github.projectunified.craftcommand.example.paper.PaperBooleanCommand.CustomSender
- spawn(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.PanelCommands
- spawn(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.PanelCommands
- SpiLoader - Class in io.github.projectunified.craftcommand.processor.generator
-
Loads processor extension handlers via Java SPI.
- sqrt(Object, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
- StandaloneCommand - Interface in io.github.projectunified.craftcommand.standalone
-
Interface representing a generated standalone command executor.
- StandaloneCommandGenerator - Class in io.github.projectunified.craftcommand.processor.standalone
-
Generates
*$StandaloneCommandwrappers. - StandaloneCommandGenerator(ProcessingEnvironment) - Constructor for class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandGenerator
- StandaloneCommandManager - Class in io.github.projectunified.craftcommand.standalone
-
CommandManager implementation for standalone applications.
- StandaloneCommandManager() - Constructor for class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
- StandaloneCommandProcessor - Class in io.github.projectunified.craftcommand.processor.standalone
-
Annotation processor for standalone command wrapper generation.
- StandaloneCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- StrictPort(int) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.StrictPort
- stringResolve(BukkitResolveCommand.CustomSender, BukkitResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- stringResolve(PaperResolveCommand.CustomSender, PaperResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- stringResolveWithDefault(BukkitResolveCommand.CustomSender, BukkitResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
- stringResolveWithDefault(PaperResolveCommand.CustomSender, PaperResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
- subcommandField(ClassName) - Static method in class io.github.projectunified.craftcommand.processor.generator.Naming
-
Gets the field name holding a nested subcommand class instance.
- subcommandName() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns the value of the
subcommandNamerecord component. - subtract(Object, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- SUBTRACT - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
- suggest(S, String[], String[]) - Method in interface io.github.projectunified.craftcommand.ArgumentResolver
-
Returns tab-completion suggestions.
- Suggest - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Binds a parameter to a suggestion provider method in the command class.
- suggestAndDefault(CommandSourceStack, String, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- suggestAndDefault(Object, String, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- suggestAndDefault(CommandSender, String, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- SuggestCommand - Class in io.github.projectunified.craftcommand.example.standalone
-
Covers Suggest combinations: field, method, Greedy+Suggest, Name+Suggest, Default+Suggest, Resolve+Suggest (on resolver param), Greedy+Name+Suggest.
- SuggestCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- SuggestCommand.CustomColor - Class in io.github.projectunified.craftcommand.example.standalone
- suggestEcho(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- suggestEcho(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- suggestField() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
suggestFieldrecord component. - suggestField(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestField(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestField(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- suggestHelper(ClassName) - Static method in class io.github.projectunified.craftcommand.processor.generator.Naming
-
Gets the suggestion routing helper method name for a nested subcommand class.
- Suggestion(CodeBlock) - Constructor for record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Suggestion
-
Creates an instance of a
Suggestionrecord class. - suggestMatching(CommandContext<CommandSourceStack>, SuggestionsBuilder, Function<String[], Collection<String>>) - Static method in class io.github.projectunified.craftcommand.paper.PaperSuggestions
-
Completes the argument the sender is currently typing from a suggestion provider.
- suggestMethod() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
suggestMethodrecord component. - suggestMethod(ClassName, String, int) - Static method in class io.github.projectunified.craftcommand.processor.generator.Naming
-
Gets the helper method name for a parameter's suggestions.
- suggestMethod(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestMethod(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestMethod(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- suggestMethodContext(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestMethodContext(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestMethodCSS(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestMethodCustom(BukkitSuggestCommand.CustomSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- suggestMethodCustom(PaperSuggestCommand.CustomSender, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestMethodFull(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestMethodNoArg(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestMethodPlayer(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestMethodPlayer(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- suggestMethodSender(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
- suggestMethodSender(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestMethodSender(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- suggestMethodSenderCurrent(Object, String) - Method in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
- suggestProvider() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
suggestProviderrecord component. - suggestResolver(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- sum(Object, int[]) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Greedy on array type (creates array from remaining args).
- syncCommand() - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
-
Synchronizes commands to the client (calls Server#syncCommands if available).
T
- tabComplete(Object, String[]) - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Tab-completes the command.
- tag(Object, ArgumentResolverCommand.CustomTag) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- tagName - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.CustomTag
- TargetUser(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.TargetUser
- TestSender - Class in io.github.projectunified.craftcommand.example.standalone
- TestSender(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.TestSender
- token - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.SessionToken
- toString() - Method in class io.github.projectunified.craftcommand.example.standalone.TestSender
- toString() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Suggestion
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
-
Returns a string representation of this record class.
- tripleInteract(CommandSourceStack, AllFeaturesCommand.Point, String, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- tripleInteract(CommandSender, AllFeaturesCommand.Point, String, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- twoOptional(Object, String, String) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- type() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Returns the value of the
typerecord component. - TypeNames - Class in io.github.projectunified.craftcommand.processor
-
Compile-time type predicates shared by the parser and the generators.
- typeSupport() - Method in class io.github.projectunified.craftcommand.processor.generator.BaseCommandGenerator
- TypeSupport - Class in io.github.projectunified.craftcommand.processor.generator
-
Single source of truth for built-in and platform parameter types.
- TypeSupport() - Constructor for class io.github.projectunified.craftcommand.processor.generator.TypeSupport
- TypeSupport.Entry - Record Class in io.github.projectunified.craftcommand.processor.generator
-
A registered type's behaviors.
- TypeSupport.Entry.Builder - Class in io.github.projectunified.craftcommand.processor.generator
-
Fluent builder.
- TypeSupport.Resolution - Record Class in io.github.projectunified.craftcommand.processor.generator
-
Inputs available to a platform multi-argument resolver.
- TypeSupport.Suggestion - Record Class in io.github.projectunified.craftcommand.processor.generator
-
Inputs available to a platform suggestion provider.
U
- unregisterAll() - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
-
Unregisters all commands registered by this command manager.
- user(Object, ArgumentResolverCommand.TargetUser) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- uuid(CommandSourceStack, UUID) - Method in class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand
V
- validateCoordinate(double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Validates coordinate is within bounds.
- validated(CommandSourceStack, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- validated(CommandSender, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- validateDivider(int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Validates that divisor is not zero.
- validateEven(int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- validateEven(int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- validatePoint(AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- validatePoint(AllFeaturesCommand.Point) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- validatePoint(ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- validatePositive(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- validateRange(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- ValidateWith - Annotation Interface in io.github.projectunified.craftcommand.validation.annotation
-
Validates a parameter by invoking a custom validation method inside the command class.
- ValidateWithHandler - Class in io.github.projectunified.craftcommand.validation.processor.extension
-
Built-in validation handler for
@ValidateWithannotations. - ValidateWithHandler() - Constructor for class io.github.projectunified.craftcommand.validation.processor.extension.ValidateWithHandler
- ValidationCommand - Class in io.github.projectunified.craftcommand.example.standalone
-
Covers validation annotation combinations: Min alone, Max alone, Min+Max, custom messages, Min+ValidateWith stack, Default+Min, Default+Max, Default+ValidateWith.
- ValidationCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
- value() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Command
-
Command or subcommand name.
- value() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Default
-
Default value string for optional parameters.
- value() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Name
-
The display name.
- value() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Resolve
-
Resolver method name.
- value() - Element in annotation interface io.github.projectunified.craftcommand.annotation.Suggest
-
Name of the suggestion provider method.
- value() - Element in annotation interface io.github.projectunified.craftcommand.bukkit.annotation.Permission
-
The permission string (e.g.
- value() - Element in annotation interface io.github.projectunified.craftcommand.validation.annotation.Max
-
The maximum allowed value (inclusive).
- value() - Element in annotation interface io.github.projectunified.craftcommand.validation.annotation.Min
-
The minimum allowed value (inclusive).
- value() - Element in annotation interface io.github.projectunified.craftcommand.validation.annotation.ValidateWith
-
The name of the validation method inside the command class.
- valueOf(String) - Static method in enum class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand.Color
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.projectunified.craftcommand.example.paper.PaperBuiltinCommand.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.projectunified.craftcommand.example.paper.PaperEnumCommand.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand.Color
-
Returns an array containing the constants of this enum class, in the order they are declared.
- varName() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Resolution
-
Returns the value of the
varNamerecord component. - vec2(Object, ArgumentResolverCommand.Vec2D) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- Vec2D(int, int) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec2D
- vec3(Object, ArgumentResolverCommand.Vec3D) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
- Vec3D(int, int, int) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
- vwCustomMessage(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
W
- whoAmI(CalculatorCommand.CustomSender) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates sender-level @Resolve.
- width() - Method in record class io.github.projectunified.craftcommand.processor.generator.TypeSupport.Entry
-
Returns the value of the
widthrecord component. - withName(String) - Method in record class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Creates a copy of this parameter using the Java identifier as its name.
X
- x - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.Point
- x - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.Point
- x - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec2D
- x - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
- x - Variable in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.Point
- x - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
Y
- y - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.Point
- y - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.Point
- y - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec2D
- y - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
- y - Variable in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.Point
- y - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
Z
- z - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form