Index

A B C D E F G H I L M N O P R S T U V W X Y Z 
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
 
addConstructorStatements(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
addConstructorStatements(MethodSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
 
addPlatformFields(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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
 
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.
ArgumentResolverCommand - Class in io.github.projectunified.craftcommand.example.standalone
Command to test various ArgumentResolver features in standalone commands: - Single-width resolvers - Multi-width resolvers (2D, 3D vectors) - Zero-width contextual resolvers - Hierarchy / interface-based resolvers - Optional parameters with resolvers and default values - Combinations of multiple custom resolvers - Error throwing inside resolvers
ArgumentResolverCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
ArgumentResolverCommand.BaseTag - Interface in io.github.projectunified.craftcommand.example.standalone
 
ArgumentResolverCommand.CustomTag - Class in io.github.projectunified.craftcommand.example.standalone
 
ArgumentResolverCommand.SessionToken - Class in io.github.projectunified.craftcommand.example.standalone
 
ArgumentResolverCommand.StrictPort - Class in io.github.projectunified.craftcommand.example.standalone
 
ArgumentResolverCommand.TargetUser - Class in io.github.projectunified.craftcommand.example.standalone
 
ArgumentResolverCommand.Vec2D - Class in io.github.projectunified.craftcommand.example.standalone
 
ArgumentResolverCommand.Vec3D - Class in io.github.projectunified.craftcommand.example.standalone
 

B

BaseCommand - Interface in io.github.projectunified.craftcommand
Common interface for all generated command wrappers.
BaseCommandProcessor - Class in io.github.projectunified.craftcommand.processor
Lightweight, human-readable base annotation processor for CraftCommand.
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
 
buildAliasesExpression(CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
buildBooleanSuggestionHelper(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
buildCommandInfo(TypeSpec.Builder, CommandModel) - 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
 
buildMethodExecution(MethodSpec.Builder, CommandModel, MethodModel, String, int, 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
 
buildResolverParamSuggestionHelper(CommandModel, MethodModel, ParameterModel, String, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
buildSenderCastHelpers(TypeSpec.Builder, CommandModel) - 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
 
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
Annotation processor for Bukkit command wrapper generation.
BukkitCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
 
BukkitHelperMethods - Class in io.github.projectunified.craftcommand.processor.bukkit
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 Resolve referencing 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
Gets the class path prefix for a class name.
CLIApp - Class in io.github.projectunified.craftcommand.example.standalone
 
CLIApp() - Constructor for class io.github.projectunified.craftcommand.example.standalone.CLIApp
 
colors - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
colors - Variable in class io.github.projectunified.craftcommand.example.bukkit.BukkitSuggestCommand
 
colors - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
colors - Variable in class io.github.projectunified.craftcommand.example.paper.PaperSuggestCommand
 
colors - Variable in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
 
combo(Object, ArgumentResolverCommand.TargetUser, ArgumentResolverCommand.Vec2D, ArgumentResolverCommand.Vec3D, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
Command - Annotation Interface in io.github.projectunified.craftcommand.annotation
Defines a command or subcommand.
CommandException - Exception Class in io.github.projectunified.craftcommand.exception
Thrown by command methods to signal validation or execution errors.
CommandException(String) - Constructor for exception class io.github.projectunified.craftcommand.exception.CommandException
 
CommandException(String, Throwable) - Constructor for exception class io.github.projectunified.craftcommand.exception.CommandException
 
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.
commandSenderSender(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
 
configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
 
configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
 
configureClass(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
 
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
 
CustomTag(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.CustomTag
 

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
Gets the execution helper method name for a nested subcommand class.

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
 
findLocalResolver(CommandModel, ParameterModel) - Static method in class io.github.projectunified.craftcommand.processor.ResolverLookup
Find a local @Resolve method 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) - Static method in class io.github.projectunified.craftcommand.processor.ResolverLookup
Walk the command tree to find the CommandModel whose element equals targetClass.
findSuggestMethod(TypeElement, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
findSuggestMethod(TypeElement, String) - Static 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
 
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.
generateEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
generateEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
 
generateEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
 
generateEntryMethods(TypeSpec.Builder, CommandModel, TypeElement) - Method in class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
 
generateExecuteMethodBody(MethodSpec.Builder, CommandModel, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
generateExecution(MethodSpec.Builder, CommandModel, MethodModel, String, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
 
generateHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
generateHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
 
generatePlatformHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
generatePlatformHelpers(TypeSpec.Builder, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
 
generateResolverInvocation(MethodSpec.Builder, ExecutableElement, CommandModel, CommandModel, TypeName, String, String, List<String>, boolean) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
generateSubcommandClassExecutors(TypeSpec.Builder, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
generateSubcommandFieldsAndConstructors(CommandModel, TypeSpec.Builder, MethodSpec.Builder, String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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.
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.BaseCommand
Gets the command metadata.
getCommandInfo(Object) - Method in class io.github.projectunified.craftcommand.CommandManager
Gets command metadata for a registered command instance.
getCommandName() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
Gets the primary name of the command.
getCommandNode() - Method in interface io.github.projectunified.craftcommand.paper.PaperCommand
Gets the Brigadier command node.
getCommands() - Method in class io.github.projectunified.craftcommand.standalone.StandaloneCommandManager
Gets all registered commands.
getDefaultMethod() - Method in class io.github.projectunified.craftcommand.processor.model.CommandModel
Gets the default execution method.
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
 
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.
getRegisteredCommands() - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
Gets all registered Bukkit commands as an unmodifiable map.
getRegisteredCommands() - Method in class io.github.projectunified.craftcommand.paper.PaperCommandManager
Gets all registered Paper commands as an unmodifiable list.
getResolver(Class<T>) - Method in class io.github.projectunified.craftcommand.CommandManager
Gets the resolver for a type.
getResolverInstanceExpr(ExecutableElement, CommandModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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
 
getSenderExpression(String) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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
 
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
 
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
 
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.
getTag() - Method in interface io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.BaseTag
 
getTag() - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.CustomTag
 
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
 
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
 
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
 
hasAnySuggestions(MethodModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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.
hasResolver(Class<?>) - Method in class io.github.projectunified.craftcommand.CommandManager
Checks if a resolver is registered or provided for the given type.
hello(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
hello(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 

I

i18nKey(String) - Static method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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
 
instantiateWrapper(Object, String, Class<W>) - Method in class io.github.projectunified.craftcommand.CommandManager
Helper to instantiate a generated command wrapper using MethodHandles.
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
 
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) - Static method in class io.github.projectunified.craftcommand.processor.ResolverLookup
Checks if a type element declares a field with the given name.
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
 
isIntegerType(String) - Static method in class io.github.projectunified.craftcommand.processor.TypeSupport
Returns true if the given type name is an integer numeric primitive or wrapper type (int, long, short, byte).
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.
isParamDirectSuggestionAvailable(ParameterModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
isParamSuggestionAvailable(ParameterModel, CommandModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
isPlatformBuiltInType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
isResolverParamSuggestionAvailable(VariableElement) - 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
Checks if the type is the platform's base sender type.
isSenderParam(TypeName, MethodModel) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
isSenderType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
isSenderType(TypeName) - Method in class io.github.projectunified.craftcommand.processor.SenderTypeRegistry
Checks if the type is a recognized sender type.
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
 
loadMethodHandlers(ClassLoader) - Static method in class io.github.projectunified.craftcommand.processor.SpiLoader
 
loadParameterHandlers(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 @Max annotations.
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 @Min annotations.
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.ArgumentResolverCommand.TargetUser
 
name - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.CustomSender
 
name - Variable in class io.github.projectunified.craftcommand.example.standalone.SuggestCommand.CustomColor
 
Name - 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.
optUser(Object, ArgumentResolverCommand.TargetUser) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
optVec(Object, ArgumentResolverCommand.Vec2D) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
originalSender - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.SessionToken
 
overridePerm(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
 
overridePerm(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.PermissionCommand
 

P

PanelCommands() - Constructor for class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.PanelCommands
 
PanelCommands() - Constructor for class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.PanelCommands
 
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 execution generator for Paper commands.
PaperExecutionSource(PaperCommandProcessor, List<PaperCommandProcessor.NodeInfo>, int) - Constructor for class io.github.projectunified.craftcommand.processor.paper.PaperExecutionSource
 
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(TypeElement, ProcessingEnvironment) - Static method in class io.github.projectunified.craftcommand.processor.parser.CommandParser
Parses the given TypeElement if annotated with @Command.
parseExpr(TypeName, String) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport
 
parseExpr(Function<String, CodeBlock>) - Method in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry.Builder
 
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
 
playerSender(Player) - Method in class io.github.projectunified.craftcommand.example.bukkit.SenderTypeCommand
 
Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.Point
 
Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.Point
 
Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.Point
 
Point(double, double) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
 
port - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.StrictPort
 
port(Object, ArgumentResolverCommand.StrictPort) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
power(Object, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.AdvancedCommands
 
primitiveDefault(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
 

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
 
registerTypes(TypeSupport) - Method in class io.github.projectunified.craftcommand.processor.bukkit.BukkitCommandProcessor
 
registerTypes(TypeSupport) - Method in class io.github.projectunified.craftcommand.processor.paper.PaperCommandProcessor
 
registerWrapper(Object, BaseCommand) - Method in class io.github.projectunified.craftcommand.CommandManager
Associates a command instance with its generated wrapper.
repeat(Object, String, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
Demonstrates @Default with default value on int.
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(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, ParameterModel, String, String, String, String, boolean, int) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
resolveParameter(S, Class<T>, String[], int[], String, boolean, String) - Method in class io.github.projectunified.craftcommand.CommandManager
Resolves a parameter, advancing the index holder.
resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
Local resolver for Point type (multi-arg, width=2).
resolvePoint(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
 
resolvePointDefault(double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
resolvePointDefault(double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
resolvePointDefault(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand
 
resolvePointNamed(double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
resolvePointNamed(double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
resolvePointNamed(double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
 
resolvePointSuggest(String, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
resolvePointSuggest(String, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
resolvePointSuggest(String, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
 
resolvePointWithSender(CommandSourceStack, double, double) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
resolvePointWithSender(Object, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
 
resolvePointWithSender(CommandSender, double, double) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
resolveResolverParameters(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, MethodModel, String, String, String, String, ParameterModel, boolean, int) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
ResolverLookup - Class in io.github.projectunified.craftcommand.processor
Compile-time lookups for local resolvers, suggest methods, fields, and command-model class resolution.
resolveSender(MethodSpec.Builder, CommandModel, MethodModel, CommandModel, String, ParameterModel, TypeName) - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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
 
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
Sanitizes a string into a valid Java identifier.
secret(CommandSourceStack) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
secret(CommandSender) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
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
 
session(ArgumentResolverCommand.SessionToken, String) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
SessionToken(Object, String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.SessionToken
 
setCoordinate(Object, double, double, double) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
Demonstrates @ValidateWith with custom validation method.
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
Gets the simple name of a type name.
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
Annotation processor for standalone command wrapper generation.
StandaloneCommandProcessor() - Constructor for class io.github.projectunified.craftcommand.processor.standalone.StandaloneCommandProcessor
 
StrictPort(int) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.StrictPort
 
stringResolve(BukkitResolveCommand.CustomSender, BukkitResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
 
stringResolve(PaperResolveCommand.CustomSender, PaperResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
 
stringResolveWithDefault(BukkitResolveCommand.CustomSender, BukkitResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.bukkit.BukkitResolveCommand
 
stringResolveWithDefault(PaperResolveCommand.CustomSender, PaperResolveCommand.CustomString) - Method in class io.github.projectunified.craftcommand.example.paper.PaperResolveCommand
 
subcommandField(ClassName) - Static method in class io.github.projectunified.craftcommand.processor.Naming
Gets the field name for a nested subcommand class instance.
subtract(Object, int, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
 
SUBTRACT - Enum constant in enum class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.MathOp
 
suggest(S, String[], String[]) - Method in interface io.github.projectunified.craftcommand.ArgumentResolver
Returns tab-completion suggestions.
Suggest - Annotation Interface in io.github.projectunified.craftcommand.annotation
Binds a parameter to a suggestion provider method in the command class.
suggestAndDefault(CommandSourceStack, String, int) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
suggestAndDefault(Object, String, int) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
 
suggestAndDefault(CommandSender, String, int) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
SuggestCommand - Class in io.github.projectunified.craftcommand.example.standalone
Covers Suggest combinations: field, method, Greedy+Suggest, Name+Suggest, Default+Suggest, Resolve+Suggest (on resolver param), Greedy+Name+Suggest.
SuggestCommand() - Constructor for class io.github.projectunified.craftcommand.example.standalone.SuggestCommand
 
SuggestCommand.CustomColor - Class in io.github.projectunified.craftcommand.example.standalone
 
suggestEcho(CommandSourceStack, String) - Method in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand
 
suggestEcho(CommandSender, String) - Method in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand
 
suggestField(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
Gets the suggestion routing helper method name for a nested subcommand class.
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
Gets the helper method name for a parameter suggestion provider.
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
 
sum(Object, int[]) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
Demonstrates @Greedy on array type (creates array from remaining args).
syncCommand() - Method in class io.github.projectunified.craftcommand.bukkit.BukkitCommandManager
Synchronizes commands to the client (calls Server#syncCommands if available).

T

tabComplete(Object, String[]) - Method in interface io.github.projectunified.craftcommand.standalone.StandaloneCommand
Tab-completes the command.
tag(Object, ArgumentResolverCommand.CustomTag) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
tagName - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.CustomTag
 
TargetUser(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.TargetUser
 
TestSender - Class in io.github.projectunified.craftcommand.example.standalone
 
TestSender(String) - Constructor for class io.github.projectunified.craftcommand.example.standalone.TestSender
 
token - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.SessionToken
 
toString() - Method in class io.github.projectunified.craftcommand.example.standalone.TestSender
 
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 - Variable in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
typeSupport() - Method in class io.github.projectunified.craftcommand.processor.BaseCommandProcessor
 
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.
user(Object, ArgumentResolverCommand.TargetUser) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 

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 @ValidateWith annotations.
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.
vec2(Object, ArgumentResolverCommand.Vec2D) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
Vec2D(int, int) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec2D
 
vec3(Object, ArgumentResolverCommand.Vec3D) - Method in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand
 
Vec3D(int, int, int) - Constructor for class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
 
vwCustomMessage(Object, int) - Method in class io.github.projectunified.craftcommand.example.standalone.ValidationCommand
 

W

whoAmI(CalculatorCommand.CustomSender) - Method in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand
Demonstrates sender-level @Resolve.
width - Variable in class io.github.projectunified.craftcommand.processor.TypeSupport.Entry
 

X

x - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.Point
 
x - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.Point
 
x - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec2D
 
x - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
 
x - Variable in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.Point
 
x - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
 

Y

y - Variable in class io.github.projectunified.craftcommand.example.bukkit.AllFeaturesCommand.Point
 
y - Variable in class io.github.projectunified.craftcommand.example.paper.AllFeaturesCommand.Point
 
y - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec2D
 
y - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
 
y - Variable in class io.github.projectunified.craftcommand.example.standalone.CalculatorCommand.Point
 
y - Variable in class io.github.projectunified.craftcommand.example.standalone.ResolveCommand.Point
 

Z

z - Variable in class io.github.projectunified.craftcommand.example.standalone.ArgumentResolverCommand.Vec3D
 
A B C D E F G H I L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Serialized Form