Index
All Classes and Interfaces|All Packages|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
- 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.
- 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
- allowed(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
- allowed(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
- anchorAdditionalFields(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 2: Add additional fields after instance and manager.
- anchorAdditionalHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 5: Add additional helper methods.
- anchorAdditionalHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- anchorBuildEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 4: Generate platform-specific entry methods (execute, tabComplete, getCommandNode, etc.).
- anchorBuildEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- anchorBuildEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- anchorBuildEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- anchorConfigureType(TypeSpec.Builder) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 1: Configure the class declaration (superclass, interfaces).
- anchorConfigureType(TypeSpec.Builder) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- anchorConfigureType(TypeSpec.Builder) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- anchorConfigureType(TypeSpec.Builder) - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- anchorConstructorBottom(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 3 (bottom): Add platform-specific constructor statements at the end.
- anchorConstructorTop(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 3 (top): Add platform-specific constructor statements at the beginning.
- anchorConstructorTop(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- anchorExtraMethods(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Phase 7: Add extra methods after CommandInfoExposer (Brigadier tree, etc.).
- anchorExtraMethods(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- annotationType() - Method in interface io.github.projectunified.craftcommand.processor.extension.CommandValidator
-
Returns the annotation type this validator targets.
- 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
- ArgumentResolver<S,
T> - Interface in io.github.projectunified.craftcommand -
Converts string arguments into typed values and provides tab-completion suggestions.
- ArrayExecutionSource - Class in io.github.projectunified.craftcommand.processor
-
Array-based implementation of
ExecutionSourcefor Bukkit/Standalone command execution. - ArrayExecutionSource(BaseCommandProcessor, String, boolean, String) - Constructor for class io.github.projectunified.craftcommand.processor.ArrayExecutionSource
-
Constructs an ArrayExecutionSource.
B
- BaseCommandProcessor - Class in io.github.projectunified.craftcommand.processor
-
Re-structured, highly readable base class for command annotation processors.
- 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.TypeSupport.Entry.Builder
- buildAdditionalHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Generates additional platform-independent helper methods (like suggestBoolean and sender casting helpers).
- buildAliasesExpression(CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildBuiltInParameter(MethodSpec.Builder, ParameterModel, TypeName, String, String, String, String, boolean, int) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- builder(TypeName, int) - Static method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry
- buildExecutionRouting(MethodSpec.Builder, CommandModel, String, String, CommandModel, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildLocalResolverParameter(MethodSpec.Builder, CommandModel, MethodModel, ParameterModel, TypeName, String, ExecutableElement, CommandModel, String, String, String, boolean, int) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildMethodExecution(MethodSpec.Builder, CommandModel, MethodModel, String, CommandModel, ExecutionSource) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildMethodExecution(MethodSpec.Builder, CommandModel, MethodModel, String, String, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildParameterSuggestionHelper(CommandModel, MethodModel, ParameterModel, int, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildParameterSuggestions(TypeSpec.Builder, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildParameterSuggestions(TypeSpec.Builder, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- buildResolverParamSuggestionHelper(CommandModel, MethodModel, ParameterModel, String, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildSenderResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, String, ParameterModel, TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildSubcommandSuggestionRouting(MethodSpec.Builder, CommandModel, MethodModel, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildSuggestionRouting(MethodSpec.Builder, CommandModel, String, String, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- buildWrapperClass(CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Generates the wrapper class using the template flow with anchor injection points.
- builtins() - Static method in class io.github.projectunified.craftcommand.processor.TypeSupport
- BukkitCommandManager - Class in io.github.projectunified.craftcommand.bukkit
-
CommandManager implementation for Bukkit plugins.
- BukkitCommandManager(JavaPlugin) - Constructor for class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
-
Constructs a BukkitCommandManager with a default error handler that sends red messages.
- BukkitCommandManager(JavaPlugin, BiConsumer<CommandSender, Exception>) - Constructor for class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
- BukkitCommandProcessor - Class in io.github.projectunified.craftcommand.processor.bukkit
- BukkitCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- BukkitHelperMethods - Class in io.github.projectunified.craftcommand.processor.bukkit
-
Shared generator for Bukkit/Paper-Basic helper methods emitted into generated command wrappers:
getPlayer,getOfflinePlayer,getWorld,getLocation,suggestPlayers,suggestWorlds. - 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. - clamped(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- classPath(ClassName) - Static method in class io.github.projectunified.craftcommand.processor.Naming
- 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
- 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
- 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(BiConsumer<S, Exception>) - 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, Map<String, MethodModel>) - Constructor for class io.github.projectunified.craftcommand.processor.model.CommandModel
- CommandParser - Class in io.github.projectunified.craftcommand.processor.parser
-
Parser utility to convert compile-time annotated class elements into structured command models.
- CommandParser() - Constructor for class io.github.projectunified.craftcommand.processor.parser.CommandParser
- commandSenderSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
- CommandValidator<A> - Interface in io.github.projectunified.craftcommand.processor.extension
-
SPI handler for method-level validation and execution wrapping annotations.
- createExecutionSource(String, boolean, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- 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
- 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.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
D
- Default - Annotation Interface in io.github.projectunified.craftcommand.annotation
-
Dual-purpose annotation.
- 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
- 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.
- 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
- emitParse(MethodSpec.Builder, TypeName, String, String) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
-
Emit parse statements (e.g.
- emitPlatformMultiResolution(MethodSpec.Builder, TypeName, String...) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
-
Emit platform-specific multi-arg resolution code (e.g.
- emitPlatformResolution(MethodSpec.Builder, TypeName, String...) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
-
Emit platform-specific resolution code (e.g.
- emitPlatformSuggestions(MethodSpec.Builder, TypeName, String...) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
-
Emit platform-specific suggestion code.
- 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(Object, EdgeCaseCommand.Color) - Method in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
- 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.Naming
- ExecutionSource - Interface in io.github.projectunified.craftcommand.processor
-
Interface to generate platform-specific command execution steps.
F
- filterSuggestions(Collection<String>, String) - Static method in class io.github.projectunified.craftcommand.CommandManager
-
Filters suggestions by prefix (case-insensitive).
- findAnnotationUp(Element, Class<A>) - Static method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Walks up the enclosing element hierarchy to find the first annotation of the given type on the element or any of its enclosing elements.
- findLocalResolver(CommandModel, ParameterModel) - Method in class io.github.projectunified.craftcommand.processor.ResolverLookup
-
Find a local
@Resolvemethod for the given parameter. - findLocalResolver(CommandModel, ParameterModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- findMethod(TypeElement, String) - Static method in class io.github.projectunified.craftcommand.processor.ResolverLookup
-
Find a no-arg/instance method by name on the given type element.
- findModelForClass(CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- findModelForClass(CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.ResolverLookup
-
Walk the command tree to find the
CommandModelwhose element equalstargetClass. - findSuggestionProvider(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Finds a global suggestion provider for the given type via SPI.
- findSuggestMethod(TypeElement, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- findSuggestMethod(TypeElement, String) - Method in class io.github.projectunified.craftcommand.processor.ResolverLookup
-
Find a suggest method by name and validate its signature.
- firstParamIsSender(ExecutableElement) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- firstParamIsSender(ExecutableElement, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Checks if the first parameter of a method is a sender parameter, considering the command method's sender type.
- 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
- 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.
- generateAssignDefaultValue(MethodSpec.Builder, TypeMirror, String, String, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- generateExecuteMethodBody(MethodSpec.Builder, CommandModel, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- generateExecutionSetup(MethodSpec.Builder, CommandModel, MethodModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.ArrayExecutionSource
- generateExecutionSetup(MethodSpec.Builder, CommandModel, MethodModel, CommandModel) - Method in interface io.github.projectunified.craftcommand.processor.ExecutionSource
-
Generates code for platform-specific execution setup or static checks (e.g. checking command length).
- generateExecutionSetup(MethodSpec.Builder, CommandModel, MethodModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
- generateFieldsAndConstructorStatements(CommandModel, TypeSpec.Builder, MethodSpec.Builder, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- generateParameterResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, ParameterModel, String, String, int) - Method in class io.github.projectunified.craftcommand.processor.ArrayExecutionSource
- generateParameterResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, ParameterModel, String, String, int) - Method in interface io.github.projectunified.craftcommand.processor.ExecutionSource
-
Generates code to parse and resolve a specific command parameter.
- generateParameterResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, ParameterModel, String, String, int) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
- generateResolverInvocation(MethodSpec.Builder, ExecutableElement, CommandModel, CommandModel, TypeName, String, String, List<String>, boolean) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Generates the common local resolver invocation code: null-check resolver instance, build method call with pre-resolved parameter variables, and assign the result.
- generateResolverResolution(ExecutionSource, MethodSpec.Builder, CommandModel, MethodModel, CommandModel, MethodModel, String, String, ParameterModel, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Unified resolver param resolution: resolves each non-sender param using the same code path, then invokes the resolver method.
- generateResolveSingleArgument(MethodSpec.Builder, TypeMirror, String, String, String, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- generateSenderResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, String, ParameterModel, TypeName) - Method in class io.github.projectunified.craftcommand.processor.ArrayExecutionSource
- generateSenderResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, String, ParameterModel, TypeName) - Method in interface io.github.projectunified.craftcommand.processor.ExecutionSource
-
Generates code to resolve and cast the command sender.
- generateSenderResolution(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, String, ParameterModel, TypeName) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
- generateSubcommandClassExecutors(TypeSpec.Builder, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- generateSubcommandClassExecutors(TypeSpec.Builder, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- generateUnknownSubcommandMessage(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- generateUnknownSubcommandMessage(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- get(TypeName) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
- 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 class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the subcommand aliases.
- getAliases() - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Gets the aliases of the command.
- getAssignmentValueForType(TypeName, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getBuiltInWidth(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- 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.paper.PaperCommand
-
Gets the command metadata.
- getCommandInfo() - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
-
Gets the command metadata.
- getCommandInfo(Object) - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
- getCommandInfo(Object) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Gets command metadata for a registered command instance.
- getCommandInfo(Object) - Method in class io.github.projectunified.craftcommand.paper.PaperCommandManager
- getCommandInfo(Object) - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
- 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.
- getDefaultPrimitiveValue(TypeMirror) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Gets the default literal value expression for a primitive (or wrapper) type.
- getDefaultValue() - Method in class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Gets the default value string.
- 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 class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the subcommand 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.
- getElement() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the underlying Java ExecutableElement.
- getElement() - Method in class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Gets the underlying VariableElement.
- getErrorHandler() - Method in class io.github.projectunified.craftcommand.CommandManager
- getInstanceVarExpression(CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getLocalResolverMaxWidth(ExecutableElement, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getLocalResolverMinWidth(ExecutableElement, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns the platform-specific command manager type.
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- getManagerType() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- 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
- getMethodName() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the Java method name.
- 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 class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Gets the parameter name.
- 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
- 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.
- getParameters() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the list of argument parameters.
- getParameterSuggestionMethodName(CommandModel, MethodModel, int) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getPath() - Method in class io.github.projectunified.craftcommand.CommandInfo
-
Command path (e.g.
- getPlatformWidth(TypeName) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
- getResolver(Class<T>) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Gets the resolver for a type.
- getResolverInstanceExpr(ExecutableElement, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns the instance expression for calling a resolver method.
- getResolverMethod(String) - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets a resolver method by name.
- getResolverMethods() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the resolver method models (from @Resolve annotations).
- getResolverParamSuggestionMethodName(CommandModel, MethodModel, String, int) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getResolverSenderExpression(ExecutableElement, String, String, TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns the sender expression to pass to a resolver method.
- getSenderExpression(String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns the sender expression for instanceof checks and general usage.
- getSenderExpression(String) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- getSenderParameter() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the sender parameter model.
- getSenderType() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the type of the sender parameter.
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns the platform-specific command sender type name.
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- getSenderTypeName() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- 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.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
- getSimpleName(TypeName) - Static method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Utility method to get the simple name of a type.
- getSubcommandFieldName(CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- getSubcommandName() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Gets the subcommand name.
- getSubcommandNames(CommandModel) - Static method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Utility method to format a list of all subcommand names defined in a command model.
- getSubcommands() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
-
Gets the method-level subcommands.
- getSuggestProvider() - Method in class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Gets the custom suggestion provider method name.
- getType() - Method in class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Gets the Java TypeMirror of this parameter.
- getUsage() - Method in class io.github.projectunified.craftcommand.CommandInfo
-
Usage syntax (e.g.
- getUsage(MethodModel, CommandModel) - Static method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Utility method to build the command usage syntax string for a command method, with support for flattening @Resolve resolver params.
- 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.TypeSupport
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns the wrapper class suffix specific to the platform.
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- getWrapperClassSuffix() - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- getWrapperName(String) - Static method in class io.github.projectunified.craftcommand.processor.TypeSupport
-
Returns the fully qualified wrapper class name for a primitive type name.
- 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
- hasParameterType(CommandModel, String) - Static method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitHelperMethods
-
Check if any method in the command tree has a parameter of the given type name.
- 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.BaseCommandProcessor
-
Extracts the i18n key from a message.
- implicitResolve(Object, ResolveCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
- 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
- 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.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
-
Argument parsing utilities for 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
- isBuiltIn(TypeName) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
- isBuiltInType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- isDefault() - Method in class io.github.projectunified.craftcommand.processor.model.MethodModel
-
Checks if this method is the default action.
- isField(TypeElement, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- isField(TypeElement, String) - Method in class io.github.projectunified.craftcommand.processor.ResolverLookup
- isGreedy() - Method in class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Checks if this parameter is greedy.
- isI18nKey(String) - Static method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Returns true if the message uses the
i18n:prefix for runtime lookup. - isNumericType(String) - Static method in class io.github.projectunified.craftcommand.processor.TypeSupport
-
Returns true if the given type name is a numeric primitive or wrapper type.
- isOptional() - Method in class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Checks if this parameter is optional.
- isPlatformBuiltInType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- isSenderBaseType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- isSenderBaseType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.SenderTypeRegistry
- isSenderParam(TypeName, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Checks if a type is any sender tier: command's sender type, base sender type, or platform sender type.
- isSenderType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Checks if the sender type is supported
- isSenderType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.SenderTypeRegistry
- isStringArray(TypeMirror) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Checks if a TypeMirror is String[].
- items - Variable in class io.github.projectunified.craftcommand.example.standalone.EdgeCaseCommand
L
- literal(TypeName, String) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
- literal(Function<String, CodeBlock>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- loadCommandValidators(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.SpiLoader
- loadMethodHandlers(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.SpiLoader
- loadParameterHandlers(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.SpiLoader
- loadSuggestionProviders(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.SpiLoader
- 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 - 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 class io.github.projectunified.craftcommand.processor.model.MethodModel
- 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, 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.ResolveCommand.CustomSender
- name - Variable in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand.CustomColor
- 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
-
Pure naming utilities for generated fields, methods, and identifiers.
O
- onBeforeExecute(MethodSpec.Builder, Element, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- onBeforeExecute(MethodSpec.Builder, Element, String) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- onBeforeExecute(MethodSpec.Builder, Element, String) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- 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.
- 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
- PaperCommand - Interface in io.github.projectunified.craftcommand.paper
-
Interface for Paper command wrappers.
- 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 with a default error handler that sends red messages.
- PaperCommandManager(JavaPlugin, BiConsumer<CommandSourceStack, Exception>) - Constructor for class io.github.projectunified.craftcommand.paper.PaperCommandManager
-
Constructs a PaperCommandManager with a custom error handler.
- PaperCommandProcessor - Class in io.github.projectunified.craftcommand.processor.paper
- PaperCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- PaperExecutionSource - Class in io.github.projectunified.craftcommand.processor.paper
-
Brigadier-based implementation of
ExecutionSourcefor Paper command execution. - 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
- 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 - Class in io.github.projectunified.craftcommand.processor.model
-
Model representing a command method parameter.
- ParameterModel(String, TypeMirror, boolean, boolean, String, String, VariableElement) - Constructor for class io.github.projectunified.craftcommand.processor.model.ParameterModel
-
Constructs a ParameterModel.
- 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(BiConsumer<MethodSpec.Builder, String[]>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- parse(TypeElement, ProcessingEnvironment) - Static method in class io.github.projectunified.craftcommand.processor.parser.CommandParser
-
Parses the given TypeElement if annotated with
@Command. - Permission - Annotation Interface in io.github.projectunified.craftcommand.bukkit.annotation
-
Annotation specifying the required Bukkit permission to execute a command or subcommand.
- 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(BiConsumer<MethodSpec.Builder, String[]>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- platformResolution(BiConsumer<MethodSpec.Builder, String[]>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- platformSuggestions(BiConsumer<MethodSpec.Builder, String[]>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- platformWidth(int) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- 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
- power(Object, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
- primitiveDefault(TypeName) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
- primitiveDefault(String) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- 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
-
/** Main entry point for the compiler annotation processing round.
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
- 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.TypeSupport
-
Register 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.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.SenderTypeRegistry
-
Register a sender type that can be obtained from the base type (e.g.
- registerTypes(TypeSupport) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Override this method to register platform-specific types into
TypeSupport. - registerTypes(TypeSupport) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
- registerTypes(TypeSupport) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
- repeat(Object, String, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Default with default value on int.
- 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
- 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
- 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
- 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
- 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
- resolveParameter(S, Class<T>, String[], int[], String, boolean, String) - Method in class io.github.projectunified.craftcommand.CommandManager
-
Resolves a parameter, advancing the index holder.
- resolveParameterForType(MethodSpec.Builder, TypeName, String, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
- 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 - Variable in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Compile-time resolver/suggest/field lookups.
- ResolverLookup - Class in io.github.projectunified.craftcommand.processor
-
Compile-time lookups for local resolvers, suggest methods, fields, and command-model class resolution.
- ResolverLookup(ProcessingEnvironment) - Constructor for class io.github.projectunified.craftcommand.processor.ResolverLookup
- resolverMethod(TypeName) - Static method in class io.github.projectunified.craftcommand.processor.Naming
- 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
- 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(VariableElement, String, String, String, MethodSpec.Builder) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
-
Runs all SPI parameter annotation handlers on a VariableElement.
- 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.Naming
- secret(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
- secret(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
- 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.BaseCommandProcessor
- SenderTypeRegistry - Class in io.github.projectunified.craftcommand.processor
-
Registry for sender types supported by a platform.
- SenderTypeRegistry() - Constructor for class io.github.projectunified.craftcommand.processor.SenderTypeRegistry
- 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
- setCoordinate(Object, double, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @ValidateWith with custom validation method.
- setErrorHandler(BiConsumer<S, Exception>) - Method in class io.github.projectunified.craftcommand.CommandManager
- 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.Naming
- 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
-
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.
- StandaloneCommandManager - Class in io.github.projectunified.craftcommand.standalone
-
CommandManager implementation for standalone applications.
- StandaloneCommandManager() - Constructor for class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
-
Constructs a StandaloneCommandManager with a default error handler that propagates exceptions.
- StandaloneCommandManager(BiConsumer<Object, Exception>) - Constructor for class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
-
Constructs a StandaloneCommandManager with a custom error handler.
- StandaloneCommandProcessor - Class in io.github.projectunified.craftcommand.processor.standalone
- StandaloneCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
- 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.Naming
- 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(TypeName, String, String, String) - Method in interface io.github.projectunified.craftcommand.processor.extension.SuggestionProvider
-
Generates a list of suggestions for the given type.
- 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(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.Naming
- SuggestionProvider - Interface in io.github.projectunified.craftcommand.processor.extension
-
SPI provider that supplies global tab-completion suggestions for parameter types.
- 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(String, String, int) - Static method in class io.github.projectunified.craftcommand.processor.Naming
- suggestMethod(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
- 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
- suggestResolver(Object, CalculatorCommand.Point) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
- suggestReturn(TypeName, String, String) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
- suggestReturn(BiFunction<String, String, CodeBlock>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
- sum(Object, int[]) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
-
Demonstrates @Greedy on array type (creates array from remaining args).
- supportedTypes() - Method in interface io.github.projectunified.craftcommand.processor.extension.SuggestionProvider
-
Returns all type names this provider can suggest for.
- 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.
- TestSender - Class in io.github.projectunified.craftcommand.example.standalone
- TestSender(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.TestSender
- toString() - Method in class io.github.projectunified.craftcommand.example.standalone.TestSender
- 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
- type - Variable in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry
- TypeSupport - Class in io.github.projectunified.craftcommand.processor
-
Single source of truth for built-in and platform parameter types.
- TypeSupport() - Constructor for class io.github.projectunified.craftcommand.processor.TypeSupport
- TypeSupport.Entry - Class in io.github.projectunified.craftcommand.processor
-
A registered type's behaviors.
- TypeSupport.Entry.Builder - Class in io.github.projectunified.craftcommand.processor
-
Fluent builder.
U
- unregisterAll() - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
-
Unregisters all commands registered by this command manager.
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.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.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.
- 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 - Variable in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry
- wrap(A, MethodModel, String, String, MethodSpec.Builder) - Method in interface io.github.projectunified.craftcommand.processor.extension.CommandValidator
-
Wraps the execution of the command method with validation or async logic.
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.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.CalculatorCommand.Point
- y - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
All Classes and Interfaces|All Packages|Serialized Form