Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(CommandClassVisitor<S, R>) - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- acceptCommandsParsing(CommandClassVisitor<S, Set<Command<S>>>) - Method in interface studio.mevera.imperat.annotations.base.AnnotationReader
- acceptsInput(String) - Method in interface studio.mevera.imperat.context.FlagData
- acceptThrowableResolversParsing(CommandClassVisitor<S, Set<MethodThrowableResolver<?, S>>>) - Method in interface studio.mevera.imperat.annotations.base.AnnotationReader
- add(P) - Method in interface studio.mevera.imperat.command.processors.CommandProcessingChain
- add(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.StrictParameterList
- add(HelpEntry<S>) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Adds an entry if it's not already present.
- addAliases(String...) - Method in interface studio.mevera.imperat.command.Command
-
Adds aliases for the command using an array of alias strings.
- addAliases(List<String>) - Method in interface studio.mevera.imperat.command.Command
-
Sets the aliases of a command
- addAll(Collection<? extends CommandParameter<S>>) - Method in class studio.mevera.imperat.command.parameters.StrictParameterList
- addAll(HelpEntryList<S>) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Adds all entries from another HelpEntryList.
- addAll(Registry<K, V>) - Method in class studio.mevera.imperat.util.Registry
- addChild(ParseElement<?>) - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- addChild(ParameterNode<S, ?>) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- addExample(String) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Adds an example to the usage
- addExamples(List<String>) - Method in interface studio.mevera.imperat.command.CommandUsage
- addFirst(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.StrictParameterList
- addFlag(CommandParameter<S>) - Method in interface studio.mevera.imperat.command.CommandUsage
- addFlag(FlagData<S>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Adds a free flag to the usage
- addParameters(List<CommandParameter<S>>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Adds parameters to the usage
- addParameters(CommandParameter<S>...) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Adds parameters to the usage
- addPermission(String) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- addPermission(String) - Method in interface studio.mevera.imperat.command.PermissionHolder
-
Adds a permission for this holder.
- addPostProcessor(CommandPostProcessor<S>) - Method in interface studio.mevera.imperat.command.Command
-
Sets a post-processor for the command
- addPreProcessor(CommandPreProcessor<S>) - Method in interface studio.mevera.imperat.command.Command
-
Sets a pre-processor for the command
- addRule(Rule<E>) - Method in interface studio.mevera.imperat.annotations.base.element.selector.ElementSelector
- addSubCommand(Command<S>, AttachmentMode) - Method in interface studio.mevera.imperat.command.Command
-
Injects a created-subcommand directly into the parent's command usages.
- addSubCommandUsage(String, List<String>, CommandUsage.Builder<S>) - Method in interface studio.mevera.imperat.command.Command
- addSubCommandUsage(String, List<String>, CommandUsage.Builder<S>, AttachmentMode) - Method in interface studio.mevera.imperat.command.Command
-
Creates and adds a new sub-command (if it doesn't exist) then add the
CommandUsageto the sub-command - addSubCommandUsage(String, CommandUsage.Builder<S>) - Method in interface studio.mevera.imperat.command.Command
-
Creates and adds a new sub-command (if it doesn't exist) then add the
CommandUsageto the sub-command - addSubCommandUsage(String, CommandUsage.Builder<S>, AttachmentMode) - Method in interface studio.mevera.imperat.command.Command
- addSupportedType(ParameterType<S, ?>) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- addUsage(CommandUsage.Builder<S>) - Method in interface studio.mevera.imperat.command.Command
- addUsage(CommandUsage.Builder<S>, boolean) - Method in interface studio.mevera.imperat.command.Command
- addUsage(CommandUsage<S>) - Method in interface studio.mevera.imperat.command.Command
-
Adds a usage to the command
- aliases() - Method in interface studio.mevera.imperat.command.Command
- aliases() - Method in interface studio.mevera.imperat.context.FlagData
- aliases() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Returns the value of the
aliasesrecord component. - aliases(String...) - Method in class studio.mevera.imperat.command.Command.Builder
- aliases(String...) - Method in class studio.mevera.imperat.command.parameters.FlagBuilder
- aliases(List<String>) - Method in class studio.mevera.imperat.command.Command.Builder
- aliases(List<String>) - Method in class studio.mevera.imperat.command.parameters.FlagBuilder
- all() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that always passes (includes all nodes).
- ALL - Enum constant in enum class studio.mevera.imperat.context.internal.ShiftTarget
- allOf(HelpFilter<S>...) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a composite filter from multiple filters (AND logic).
- allowVariants() - Method in class studio.mevera.imperat.command.parameters.type.ParameterBoolean
- AmbiguousUsageAdditionException - Exception in studio.mevera.imperat.exception
- AmbiguousUsageAdditionException(Command<S>, CommandUsage<S>, CommandUsage<S>) - Constructor for exception studio.mevera.imperat.exception.AmbiguousUsageAdditionException
- and(Rule<T>) - Method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
- and(Rule<T>) - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.SimpleRule
- and(RuleCondition<E>) - Method in interface studio.mevera.imperat.annotations.base.element.selector.RuleCondition
- and(HelpFilter<S>) - Method in interface studio.mevera.imperat.command.tree.help.HelpFilter
-
Creates a composite filter that requires both this and another filter to pass.
- AnnotatedParameter<S extends Source> - Interface in studio.mevera.imperat.annotations.parameters
-
Represents an annotated parameter from using annotation parser
- AnnotationFactory - Class in studio.mevera.imperat.annotations.base
-
A class that is responsible for creating dynamic instances of annotations of certain types useful while implementing/using
AnnotationReplacer - AnnotationFactory() - Constructor for class studio.mevera.imperat.annotations.base.AnnotationFactory
- AnnotationHelper - Class in studio.mevera.imperat.annotations.base
- AnnotationHelper() - Constructor for class studio.mevera.imperat.annotations.base.AnnotationHelper
- AnnotationInjector<S extends Source> - Interface in studio.mevera.imperat
-
This interface provides mechanisms for injecting and managing annotations within a command parsing and execution framework.
- AnnotationMap - Class in studio.mevera.imperat.util
- AnnotationMap() - Constructor for class studio.mevera.imperat.util.AnnotationMap
- AnnotationParameterDecorator<S extends Source> - Class in studio.mevera.imperat.annotations.parameters
- AnnotationParser<S extends Source> - Class in studio.mevera.imperat.annotations.base
- AnnotationReader<S extends Source> - Interface in studio.mevera.imperat.annotations.base
-
Represents a class that has a single responsibility of reading the annotation components of an annotated command class
- annotationReplacer(Class<A>, AnnotationReplacer<A>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a custom annotation replacer for the specified annotation type.
- AnnotationReplacer<A extends Annotation> - Interface in studio.mevera.imperat.annotations.base
-
Replaces a custom annotation made by the user, with annotations made from the basic pre-made annotations such as
Command - annotations - Variable in class studio.mevera.imperat.annotations.base.element.ParseElement
- anyOf(HelpFilter<S>...) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a composite filter from multiple filters (OR logic).
- append(C) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- append(String) - Method in class studio.mevera.imperat.command.tree.help.theme.StringHelpComponent
- append(HelpComponent<S, C>) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- append(ParameterNode<S, ?>) - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- appendParameterFormat(CommandParameter<S>) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- appendText(String) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- appendText(String) - Method in class studio.mevera.imperat.command.tree.help.theme.StringHelpComponent
- appendText(HelpComponent<S, String>) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- applyAnnotationReplacers(Imperat<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Apply annotation replacers.
- applyOnConfig(Consumer<ImperatConfig<S>>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Applies a consumer function to the current configuration, allowing modifications to be performed directly on the
ImperatConfiginstance. - areAmbiguous(CommandUsage<S>, CommandUsage<S>) - Method in interface studio.mevera.imperat.verification.UsageVerifier
- areRelatedTypes(Type, Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- areTrueFlagsOfSameInputTpe(Set<FlagData<S>>) - Static method in class studio.mevera.imperat.util.TypeUtility
- Argument<S extends Source> - Record Class in studio.mevera.imperat.context.internal
- Argument(String, CommandParameter<S>, int, Object) - Constructor for record class studio.mevera.imperat.context.internal.Argument
-
Creates an instance of a
Argumentrecord class. - ArgumentInput - Interface in studio.mevera.imperat.context
-
Represents a custom data structure made specifically for handling the arguments entered by the
Source - ArgumentNode<S extends Source> - Class in studio.mevera.imperat.command.tree
- arguments() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that excludes command nodes (only arguments).
- arguments() - Method in interface studio.mevera.imperat.context.Context
- array(TypeWrap<E[]>, Function<Integer, Object[]>, ParameterType<S, E>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- as(Class<T>) - Method in interface studio.mevera.imperat.context.Source
- asAnnotated() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Casts the parameter to a parameter with annotations
- asCommand() - Method in interface studio.mevera.imperat.command.Command
- asCommand() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Casts the parameter to a subcommand/command
- asCommand() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- asFlagParameter() - Method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
-
Casts the parameter to a flag parameter
- asFlagParameter() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Casts the parameter to a flag parameter
- asFlagParameter() - Method in class studio.mevera.imperat.command.parameters.InputParameter
-
Casts the parameter to a flag parameter
- asNumeric() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- assign(ParameterNode<S, ?>, String) - Method in interface studio.mevera.imperat.NodePermissionAssigner
-
Assigns the specified permission to the given parameter node.
- async() - Static method in interface studio.mevera.imperat.command.CommandCoordinator
- async(ExecutorService) - Static method in interface studio.mevera.imperat.command.CommandCoordinator
- Async - Annotation Interface in studio.mevera.imperat.annotations
-
Marks a command handling method to be executed asynchronously.
- asyncAutoComplete(SuggestionContext<S>, CommandParameter<S>) - Method in interface studio.mevera.imperat.resolvers.SuggestionResolver
- attachment() - Element in annotation interface studio.mevera.imperat.annotations.SubCommand
- AttachmentMode - Enum Class in studio.mevera.imperat.command
-
Defines the modes of attachment for a subcommand within a
Command. - autoComplete(S, String) - Method in class studio.mevera.imperat.BaseImperat
- autoComplete(S, String) - Method in interface studio.mevera.imperat.Imperat
- autoComplete(SuggestionContext<S>) - Method in class studio.mevera.imperat.command.suggestions.AutoCompleter
-
Autocompletes an argument from the whole position of the argument-raw input
- autoComplete(SuggestionContext<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry.EnumSuggestionResolver
- autoComplete(SuggestionContext<S>, CommandParameter<S>) - Method in interface studio.mevera.imperat.resolvers.SuggestionResolver
- autoComplete(Imperat<S>, S, String, String[]) - Method in class studio.mevera.imperat.command.suggestions.AutoCompleter
-
Autocompletes an argument from the whole position of the argument-raw input
- autoCompleter() - Method in interface studio.mevera.imperat.command.Command
- AutoCompleter<S extends Source> - Class in studio.mevera.imperat.command.suggestions
-
Represents a class that's responsible for Handling all auto-completion processes during tab-completion per one command, regardless of the sender valueType
- AutoCompleter(Command<S>) - Constructor for class studio.mevera.imperat.command.suggestions.AutoCompleter
- autoPermissionAssignMode(boolean) - Method in class studio.mevera.imperat.ConfigBuilder
-
Toggles the APA (Auto Permission Assign) mode, When enabled, it will automatically compute, set permissions automatically for every
CommandParameterin everyCommandUsageyou make without the need to explicitly set the permissions , the same goes on ROOT commands and even subcommands (since they are also treated asCommandParameter)
B
- BaseHelpTheme<S extends Source,
C> - Class in studio.mevera.imperat.command.tree.help.theme - BaseHelpTheme(HelpTheme.PresentationStyle, int, Function<C, HelpComponent<S, C>>) - Constructor for class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- BaseHelpTheme(HelpTheme.PresentationStyle, Function<C, HelpComponent<S, C>>) - Constructor for class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- BaseImperat<S extends Source> - Class in studio.mevera.imperat
- BaseImperat(ImperatConfig<S>) - Constructor for class studio.mevera.imperat.BaseImperat
- BaseParameterType<S extends Source,
T> - Class in studio.mevera.imperat.command.parameters.type -
Base class for defining parameter types in a command processing framework.
- BaseParameterType() - Constructor for class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Constructs a new BaseParameterType with an automated
TypeWrap - BaseParameterType(Class<T>) - Constructor for class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Constructs a new BaseParameterType with the given TypeWrap.
- BaseParameterType(Type) - Constructor for class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Constructs a new BaseParameterType with the given TypeWrap.
- BaseReturnResolver<S extends Source,
T> - Class in studio.mevera.imperat.command.returns - BaseReturnResolver(Type) - Constructor for class studio.mevera.imperat.command.returns.BaseReturnResolver
- BaseReturnResolver(TypeWrap<T>) - Constructor for class studio.mevera.imperat.command.returns.BaseReturnResolver
- BaseThrowableHandler<S extends Source> - Interface in studio.mevera.imperat
-
A base implementation of
ThrowableHandlerthat provides intelligent exception chain traversal and resolution logic. - betweenIn(int, int, int) - Static method in class studio.mevera.imperat.util.Preconditions
- bindTo(Object) - Method in interface studio.mevera.imperat.util.asm.MethodCaller
-
Binds this caller to the specified instance.
- bool() - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- boxedToPrimative(Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- build() - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.Builder
- build() - Method in class studio.mevera.imperat.command.Command.Builder
- build() - Method in class studio.mevera.imperat.command.parameters.FlagBuilder
- build() - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- build() - Method in class studio.mevera.imperat.command.processors.CommandProcessingChain.Builder
- build() - Method in class studio.mevera.imperat.command.tree.help.HelpQuery.Builder
-
Builds an immutable
HelpQueryinstance with the configured parameters. - build() - Method in class studio.mevera.imperat.ConfigBuilder
-
Builds and returns the final configuration object based on the provided settings and definitions within the builder.
- build() - Method in class studio.mevera.imperat.context.internal.sur.ChainFactory.ChainBuilder
- build() - Method in class studio.mevera.imperat.placeholders.Placeholder.Builder
- build(Command<S>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- build(Command<S>, boolean) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- buildAsHelp(Command<S>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- builder() - Static method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
- builder() - Static method in interface studio.mevera.imperat.command.CommandUsage
- builder() - Static method in class studio.mevera.imperat.command.tree.help.HelpQuery
-
Creates a new builder for constructing a
HelpQuery. - builder() - Static method in class studio.mevera.imperat.context.internal.sur.ChainFactory
- builder(String) - Static method in interface studio.mevera.imperat.placeholders.Placeholder
- Builder() - Constructor for class studio.mevera.imperat.command.processors.CommandProcessingChain.Builder
- buildForMethod() - Static method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
C
- call(Object...) - Method in interface studio.mevera.imperat.util.asm.MethodCaller.BoundMethodCaller
-
Calls the method of this caller
- call(Object, Object...) - Method in interface studio.mevera.imperat.util.asm.MethodCaller
-
Calls the method of this caller
- canBeSelected(Imperat<?>, AnnotationParser<?>, E, boolean) - Method in interface studio.mevera.imperat.annotations.base.element.selector.ElementSelector
- canBeSender(Type) - Method in class studio.mevera.imperat.BaseImperat
-
Checks whether the valueType can be a command sender
- canBeSender(Type) - Method in interface studio.mevera.imperat.SourceWrapper
-
Checks whether the valueType can be a command sender
- capacity() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Returns the current capacity of the internal array.
- caseSensitive() - Element in annotation interface studio.mevera.imperat.annotations.Values
-
Whether the values should be checked upon for being exactly the SAME as the input (including upper and lower case)
- ChainBuilder() - Constructor for class studio.mevera.imperat.context.internal.sur.ChainFactory.ChainBuilder
- ChainFactory - Class in studio.mevera.imperat.context.internal.sur
- ChainFactory() - Constructor for class studio.mevera.imperat.context.internal.sur.ChainFactory
- ChainFactory.ChainBuilder<S extends Source> - Class in studio.mevera.imperat.context.internal.sur
- checkArgument(boolean, String) - Static method in class studio.mevera.imperat.util.Preconditions
- checkCallableStatic(Object, Method) - Static method in class studio.mevera.imperat.util.Preconditions
- childrenOnly() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
- ClassElement - Class in studio.mevera.imperat.annotations.base.element
- ClassElement(AnnotationParser<S>, ClassElement, Class<?>) - Constructor for class studio.mevera.imperat.annotations.base.element.ClassElement
- ClassElement(AnnotationParser<S>, ClassElement, Class<?>, Object) - Constructor for class studio.mevera.imperat.annotations.base.element.ClassElement
- clear() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Clears all entries.
- collectBeforeFirst(char) - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Collects and returns all characters before the first occurrence of the specified character.
- collection(TypeWrap<C>, Supplier<C>, ParameterType<S, E>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- command - Variable in class studio.mevera.imperat.command.suggestions.AutoCompleter
- command() - Method in interface studio.mevera.imperat.context.Context
- command(String, List<String>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- Command<S extends Source> - Interface in studio.mevera.imperat.command
-
Represents a wrapper for the actual command's data
- Command - Annotation Interface in studio.mevera.imperat.annotations
-
Declares a command entry point on a type or method.
- Command.Builder<S extends Source> - Class in studio.mevera.imperat.command
- CommandClassVisitor<S extends Source,
R> - Class in studio.mevera.imperat.annotations.base.element -
Visits each element in a
ClassElement - CommandClassVisitor(Imperat<S>, AnnotationParser<S>, ElementSelector<MethodElement>) - Constructor for class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- CommandCoordinator<S extends Source> - Interface in studio.mevera.imperat.command
- CommandCoordinator.UnsafeRunnable - Interface in studio.mevera.imperat.command
- CommandExecution<S extends Source> - Interface in studio.mevera.imperat.command
-
This class represents the execution/action of this command that's triggered when the sender asks for this command to be executed.
- CommandHelp<S extends Source> - Class in studio.mevera.imperat.command.tree.help
- CommandInputStream<S extends Source> - Interface in studio.mevera.imperat.context.internal
-
Represents a stream of command input that provides sequential access to command arguments, parameters, and individual characters.
- CommandNode<S extends Source> - Class in studio.mevera.imperat.command.tree
- CommandParameter<S extends Source> - Interface in studio.mevera.imperat.command.parameters
-
Represents the command parameter required by the usage of the command itself
- CommandPathSearch<S extends Source> - Class in studio.mevera.imperat.command.tree
- CommandPathSearch.Result - Enum Class in studio.mevera.imperat.command.tree
-
Defines a setResult from dispatching the command execution.
- CommandPostProcessor<S extends Source> - Interface in studio.mevera.imperat.command.processors
-
Defines a functional interface that processes a
ContextAFTER the resolving of the arguments into values. - commandPrefix() - Method in interface studio.mevera.imperat.ImperatConfig
- commandPrefix(String) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the command prefix for the command processing chain.
- CommandPreProcessor<S extends Source> - Interface in studio.mevera.imperat.command.processors
-
Defines a functional interface that processes a
ContextBEFORE the resolving of the arguments into values. - CommandProcessingChain<S extends Source,
P extends CommandProcessor<S>> - Interface in studio.mevera.imperat.command.processors - CommandProcessingChain.Builder<S extends Source,
P extends CommandProcessor<S>> - Class in studio.mevera.imperat.command.processors - CommandProcessor<S extends Source> - Interface in studio.mevera.imperat.command.processors
- CommandRegistrar<S extends Source> - Interface in studio.mevera.imperat
- commands() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that only includes command nodes.
- CommandTree<S extends Source> - Interface in studio.mevera.imperat.command.tree
-
Represents a tree structure for commands, providing methods for parsing, matching, and tab-completion functionality within a command framework.
- CommandTreeVisualizer<S extends Source> - Class in studio.mevera.imperat.command.tree
- CommandUsage<S extends Source> - Interface in studio.mevera.imperat.command
-
Represents a usage of a command that can be used in the future during an execution
- CommandUsage.Builder<S extends Source> - Class in studio.mevera.imperat.command
- COMPARATORS - Static variable in interface studio.mevera.imperat.command.NumericComparator
- COMPLETE - Enum constant in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
-
Defines a complete dispatch of the command,
CommandUsagecannot be null unless theStandardCommandTreehas issues - CompletionArg - Record Class in studio.mevera.imperat.command.suggestions
-
Represents an argument that's being completed or an argument requested by the command-sender to be completed
- CompletionArg(String, int) - Constructor for record class studio.mevera.imperat.command.suggestions.CompletionArg
-
Creates an instance of a
CompletionArgrecord class. - componentValue - Variable in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- computePermissions() - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Compute Permissions in APA(AutoPermissionAssign) mode This is a method that shall take some considerable amount of resources whenever an instance of
Commandis created using itsCommand.Builder. - condition() - Method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
- condition() - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.SimpleRule
- condition(RuleCondition<T>) - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.Builder
- conditionalRootUsage(Predicate<CommandUsage<S>>) - Method in class studio.mevera.imperat.command.tree.help.HelpQuery.Builder
-
Sets the condition for including the root's MAINcommand usage.
- config - Variable in class studio.mevera.imperat.BaseImperat
- config - Variable in class studio.mevera.imperat.ConfigBuilder
- config() - Method in class studio.mevera.imperat.BaseImperat
-
The config for imperat
- config() - Method in interface studio.mevera.imperat.Imperat
-
The config for imperat
- ConfigBuilder<S extends Source,
I extends Imperat<S>, B extends ConfigBuilder<S, I, B>> - Class in studio.mevera.imperat -
A generic abstract builder class for configuring instances of ImperatConfig and creating implementations of the Imperat interface.
- ConfigBuilder() - Constructor for class studio.mevera.imperat.ConfigBuilder
- CONSOLE_UUID - Static variable in interface studio.mevera.imperat.context.Source
- ConstrainedParameterTypeDecorator<S extends Source,
T> - Class in studio.mevera.imperat.command.parameters - contains(Object) - Method in class studio.mevera.imperat.command.parameters.StrictParameterList
- contains(HelpEntry<S>) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Checks if an entry exists in the list.
- containsSimilar(CommandParameter<?>) - Method in class studio.mevera.imperat.command.parameters.StrictParameterList
- Context<S extends Source> - Interface in studio.mevera.imperat.context
-
Represents the processes context of a command entered by
Source - contextFactory(ContextFactory<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the context factory for creating contexts used in command execution.
- ContextFactory<S extends Source> - Class in studio.mevera.imperat.context.internal
-
Represents a way for defining how the context is created
- ContextFactory() - Constructor for class studio.mevera.imperat.context.internal.ContextFactory
- contextMatch(Context<S>) - Method in interface studio.mevera.imperat.command.Command
-
Traverses the
CommandTreelinked to this command object, searching for the most suitable usage that best suites the context input by the user - contextMatch(Context<S>, ArgumentInput) - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Matches the given input against this command tree and returns a dispatch context.
- ContextResolved - Annotation Interface in studio.mevera.imperat.annotations
-
Marks a type or parameter whose value is resolved from the execution context rather than parsed from the command input.
- contextResolver(Type, ContextResolver<S, T>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a context resolver for a specified type, allowing you to resolve a default value from the context for that type.
- ContextResolver<S extends Source,
T> - Interface in studio.mevera.imperat.resolvers -
Resolves a default non-overridable value for missing required arguments
- contextResolverFactory(Type, ContextResolverFactory<S, T>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a context resolver factory for the specified type.
- ContextResolverFactory<S extends Source,
T> - Interface in studio.mevera.imperat.command -
Represents a context resolver factory that is responsible for creating
ContextResolver - ContextResolverRegistry<S extends Source> - Class in studio.mevera.imperat.command
- cooldown(long, TimeUnit) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- cooldown(long, TimeUnit, String) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- cooldown(UsageCooldown) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- Cooldown - Annotation Interface in studio.mevera.imperat.annotations
-
Applies a per-invocation cooldown to a command method.
- CooldownException - Exception in studio.mevera.imperat.exception
- CooldownException(Duration, Instant, Context<?>) - Constructor for exception studio.mevera.imperat.exception.CooldownException
- CooldownHandler<S extends Source> - Interface in studio.mevera.imperat.command.cooldown
-
Cool-down checker and handler for the command usages
CommandUsage - CooldownHolder - Interface in studio.mevera.imperat.command
- coordinate(Imperat<S>, S, ExecutionContext<S>, CommandExecution<S>) - Method in interface studio.mevera.imperat.command.CommandCoordinator
- coordinator(CommandCoordinator<S>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- copy() - Method in class studio.mevera.imperat.command.tree.CommandNode
- copy() - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- copy() - Method in interface studio.mevera.imperat.context.ArgumentInput
-
Returns an independent copy of this argument stack.
- copy() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Creates a deep copy of this command input stream.
- copy() - Method in class studio.mevera.imperat.context.internal.StreamPosition
- copyWithDifferentPosition(int) - Method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
-
Creates a copy of this parameter with a different position.
- copyWithDifferentPosition(int) - Method in class studio.mevera.imperat.annotations.parameters.NumericParameterDecorator
-
Creates a copy of this parameter with a different position.
- copyWithDifferentPosition(int) - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Creates a copy of this parameter with a different position.
- copyWithDifferentPosition(int) - Method in class studio.mevera.imperat.command.parameters.FlagCommandParameter
-
Creates a copy of this parameter with a different position.
- create() - Static method in interface studio.mevera.imperat.annotations.base.element.selector.ElementSelector
- create() - Static method in class studio.mevera.imperat.command.tree.help.HelpCoordinator
-
A factory method to create a new HelpCoordinator with default settings.
- create(Class<T>) - Static method in class studio.mevera.imperat.annotations.base.AnnotationFactory
-
Creates a new annotation with no values.
- create(Class<T>, Object...) - Static method in class studio.mevera.imperat.annotations.base.AnnotationFactory
-
Creates a new annotation with the given map values.
- create(Class<T>, Map<String, Object>) - Static method in class studio.mevera.imperat.annotations.base.AnnotationFactory
-
Creates a new annotation with the given map values.
- create(Imperat<S>, Command<S>, int, String) - Static method in interface studio.mevera.imperat.command.Command
- create(Imperat<S>, Command<S>, String) - Static method in interface studio.mevera.imperat.command.Command
- create(Imperat<S>, String) - Static method in interface studio.mevera.imperat.command.Command
- create(Type, ParameterElement) - Method in interface studio.mevera.imperat.command.ContextResolverFactory
-
Creates a context resolver based on the parameter
- create(String, List<String>, ParameterType<S, T>) - Static method in interface studio.mevera.imperat.context.FlagData
- create(String, List<String>, ParameterType<S, T>, boolean) - Static method in interface studio.mevera.imperat.context.FlagData
- create(TreeHelpVisitor<S>, HelpLayoutRenderer<S, ?>) - Static method in class studio.mevera.imperat.command.tree.help.HelpCoordinator
-
A factory method to create a new HelpCoordinator with custom settings.
- create(ExecutionContext<S>) - Static method in class studio.mevera.imperat.command.tree.help.CommandHelp
- create(ExecutionContext<S>, CommandUsage<S>) - Static method in class studio.mevera.imperat.context.internal.sur.ParameterValueAssigner
- create(ImperatConfig<S>, Command<S>) - Static method in interface studio.mevera.imperat.command.tree.CommandTree
- createArgumentNode(ParameterNode<S, ?>, CommandParameter<S>, int, CommandUsage<S>) - Static method in class studio.mevera.imperat.command.tree.ParameterNode
- createCommandNode(ParameterNode<S, ?>, Command<S>, int, CommandUsage<S>) - Static method in class studio.mevera.imperat.command.tree.ParameterNode
- createContext(Imperat<S>, S, Command<S>, String, ArgumentInput) - Method in class studio.mevera.imperat.context.internal.ContextFactory
- createDefault() - Static method in class studio.mevera.imperat.command.ContextResolverRegistry
- createDefault() - Static method in class studio.mevera.imperat.command.ReturnResolverRegistry
- createDefault() - Static method in class studio.mevera.imperat.command.SourceResolverRegistry
- createDefault() - Static method in class studio.mevera.imperat.context.ParamTypeRegistry
- createDefault(CommandUsage<S>) - Static method in interface studio.mevera.imperat.command.cooldown.CooldownHandler
- createDefault(ImperatConfig<S>) - Static method in class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry
- createDefault(ImperatConfig<S>) - Static method in class studio.mevera.imperat.placeholders.PlaceholderRegistry
- createDefaultChain() - Static method in class studio.mevera.imperat.context.internal.sur.ChainFactory
- createEmptyComponent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- createEmptyComponent() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- createEmptyContent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- createEntry(ParameterNode<S, ?>) - Method in interface studio.mevera.imperat.command.tree.help.HelpEntryFactory
-
Creates a help entry from the given parameter node.
- createExecutionContext(Context<S>, CommandPathSearch<S>) - Method in class studio.mevera.imperat.context.internal.ContextFactory
- createFor(Method) - Method in class studio.mevera.imperat.util.asm.DefaultMethodCallerFactory
- createFor(Method) - Method in interface studio.mevera.imperat.util.asm.MethodCallerFactory
-
Creates a new
MethodCallerfor the specified method. - createInstance(ImperatConfig<S>, Class<T>) - Method in interface studio.mevera.imperat.annotations.base.InstanceFactory
-
Creates an instance of the specified class.
- createNative(Command<S>) - Static method in class studio.mevera.imperat.command.suggestions.AutoCompleter
- createNative(CommandUsage<S>) - Static method in interface studio.mevera.imperat.command.flags.FlagExtractor
- createSuggestionContext(Imperat<S>, S, Command<S>, String, ArgumentInput) - Method in class studio.mevera.imperat.context.internal.ContextFactory
- createSwitch(String, List<String>) - Static method in interface studio.mevera.imperat.context.FlagData
- createWithCustomChain(ExecutionContext<S>, CommandUsage<S>, ParameterChain<S>) - Static method in class studio.mevera.imperat.context.internal.sur.ParameterValueAssigner
- currentLetter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the character at the current cursor position wrapped in an Optional container.
- currentLetterIfPresent() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the character at the current cursor position within the current raw input string without advancing the cursor.
- currentParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the command parameter at the current cursor position wrapped in an Optional container.
- currentParameterIfPresent() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the command parameter at the current cursor position without advancing the cursor.
- currentParameterPosition() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the current position index of the parameter cursor.
- currentRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the raw input string at the current cursor position wrapped in an Optional container.
- currentRawIfPresent() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the raw input string at the current cursor position without advancing the cursor.
- currentRawPosition() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the current position index of the raw input cursor.
D
- data - Variable in class studio.mevera.imperat.command.tree.ParameterNode
- debug() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Debugs the current resolved arguments cached/mapped.
This requiresImperatDebuggerto be enabled.
Example:ImperatDebugger.setEnabled(true) - debug(boolean) - Method in class studio.mevera.imperat.BaseImperat
- debug(boolean) - Method in interface studio.mevera.imperat.Imperat
-
Debugs all registered commands and their usages.
- debug(String, Object...) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- debugForTesting(String, Object...) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- debugParameters(String, List<CommandParameter<S>>) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- decorate(CommandParameter<S>, NumericRange) - Static method in class studio.mevera.imperat.annotations.parameters.NumericParameterDecorator
- decorate(CommandParameter<S>, ParameterElement) - Static method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
- deduceOptionalValueSupplier(ParameterElement, Default, DefaultProvider, OptionalValueSupplier) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- Default - Annotation Interface in studio.mevera.imperat.annotations
-
Specifies a literal default value for a parameter when no explicit input is provided.
- DEFAULT - Enum constant in enum class studio.mevera.imperat.command.AttachmentMode
-
Attaches the subcommand to the default usage of a
Command, which may be empty or contain optional arguments/parameters. - DEFAULT_DELIMITER - Static variable in interface studio.mevera.imperat.NodePermissionAssigner
-
The default delimiter used to separate permission node segments.
- defaultAssigner() - Static method in interface studio.mevera.imperat.NodePermissionAssigner
-
Creates a default permission assigner that directly assigns permissions to nodes.
- defaultAttachmentMode(AttachmentMode) - Method in class studio.mevera.imperat.ConfigBuilder
-
The default attachment mode.
- defaultExecution(CommandExecution<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- defaultFactory() - Static method in interface studio.mevera.imperat.annotations.base.InstanceFactory
-
Creates a default instance factory that uses the provided ImperatConfig for dependency resolution.
- defaultFactory() - Static method in interface studio.mevera.imperat.command.tree.help.HelpEntryFactory
- defaultFactory() - Static method in class studio.mevera.imperat.context.internal.ContextFactory
- defaultLoader() - Static method in interface studio.mevera.imperat.PermissionLoader
- DefaultMethodCallerFactory - Class in studio.mevera.imperat.util.asm
- DefaultMethodCallerFactory() - Constructor for class studio.mevera.imperat.util.asm.DefaultMethodCallerFactory
- defaultParser(Imperat<S>) - Static method in class studio.mevera.imperat.annotations.base.AnnotationParser
- DefaultProcessors - Class in studio.mevera.imperat.command.processors.impl
- DefaultProcessors() - Constructor for class studio.mevera.imperat.command.processors.impl.DefaultProcessors
- defaultProvider() - Static method in interface studio.mevera.imperat.command.tree.help.TreeHelpVisitor
- DefaultProvider - Annotation Interface in studio.mevera.imperat.annotations
-
Declares an external class that provides/supplies a default value for a parameter when the user omits an input.
- defaultSuggestionResolver(SuggestionResolver<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the default suggestion resolver for providing autocomplete suggestions for command arguments or parameters in the configuration.
- defaultValue() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme.Option
- defaultValue(OptionalValueSupplier) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- defaultValue(T) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- Dependency - Annotation Interface in studio.mevera.imperat.annotations
-
Marks a field to be injected with a dependency by the underlying framework.
- dependencyResolver(Type, DependencySupplier) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a dependency resolver for a specific type and returns the current
ConfigBuilderinstance. - DependencySupplier - Interface in studio.mevera.imperat.resolvers
-
A functional interface that supplies a generic dependency object.
- depth(int, int) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter based on node depth.
- describe(String) - Method in interface studio.mevera.imperat.command.DescriptionHolder
-
Sets the description for this entity using a string.
- describe(Description) - Method in interface studio.mevera.imperat.command.DescriptionHolder
-
Sets the description for this entity.
- describe(Description) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- description - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- description - Variable in class studio.mevera.imperat.command.parameters.ParameterBuilder
- description() - Method in interface studio.mevera.imperat.command.Command
- description() - Method in interface studio.mevera.imperat.command.DescriptionHolder
-
Retrieves the current description associated with this entity.
- description() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- description(Description) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- description(String) - Method in class studio.mevera.imperat.command.Command.Builder
- description(String) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- description(String) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- description(Description) - Method in class studio.mevera.imperat.command.Command.Builder
- Description - Class in studio.mevera.imperat.command
- Description - Annotation Interface in studio.mevera.imperat.annotations
-
Attaches a human-readable description to a command, subcommand, or parameter.
- DescriptionHolder - Interface in studio.mevera.imperat.command
-
Represents an entity that can have a description.
- display() - Method in class studio.mevera.imperat.command.parameters.type.ParameterNumber
- display(HelpQuery<S>, HelpTheme<S, C>) - Method in class studio.mevera.imperat.command.tree.help.CommandHelp
-
Displays help using the provided query and theme.
- DOUBLE_FLAG - Static variable in class studio.mevera.imperat.util.Patterns
- DOUBLE_NUMERIC_COMPARATOR - Static variable in interface studio.mevera.imperat.command.NumericComparator
- DOUBLE_QUOTE - Static variable in class studio.mevera.imperat.util.StringUtils
E
- element - Variable in class studio.mevera.imperat.annotations.base.element.ParseElement
- ElementSelector<E extends ParseElement<?>> - Interface in studio.mevera.imperat.annotations.base.element.selector
-
Selects a
ParseElementbased on a specific list ofRule - empty() - Static method in interface studio.mevera.imperat.command.CommandExecution
- empty() - Static method in class studio.mevera.imperat.command.parameters.NumericRange
- empty() - Static method in interface studio.mevera.imperat.command.parameters.OptionalValueSupplier
- empty() - Static method in class studio.mevera.imperat.command.tree.help.HelpEntryList
- empty() - Static method in interface studio.mevera.imperat.context.ArgumentInput
- EMPTY - Enum constant in enum class studio.mevera.imperat.command.AttachmentMode
-
Attaches the subcommand to an empty usage of the
Command - EMPTY - Static variable in class studio.mevera.imperat.command.Description
- EMPTY - Static variable in interface studio.mevera.imperat.command.parameters.OptionalValueSupplier
- EMPTY - Static variable in record class studio.mevera.imperat.command.suggestions.CompletionArg
- EmptyInputHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- EmptyInputHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.EmptyInputHandler
- endInput() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
- EnumSuggestionResolver() - Constructor for class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry.EnumSuggestionResolver
- equals(Object) - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
- equals(Object) - Method in class studio.mevera.imperat.annotations.base.element.RootCommandClass
- equals(Object) - Method in class studio.mevera.imperat.command.cooldown.UsageCooldown
- equals(Object) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- equals(Object) - Method in record class studio.mevera.imperat.command.suggestions.CompletionArg
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class studio.mevera.imperat.command.tree.help.HelpEntry
-
Compares this HelpEntry to another object for equality.
- equals(Object) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
- equals(Object) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- equals(Object) - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class studio.mevera.imperat.context.internal.Argument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class studio.mevera.imperat.context.internal.StreamPosition
- equals(Object) - Method in record class studio.mevera.imperat.util.Pair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class studio.mevera.imperat.util.Registry
- equalsExactly(Type) - Method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- equalsExactly(Type) - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Checks if the given type exactly matches this parameter type.
- error(Class<?>, String, Throwable) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- error(Class<?>, String, Throwable, String) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- error(String) - Method in interface studio.mevera.imperat.context.Source
-
Replies to the command sender with a string message formatted specifically for error messages
- ERROR_HANDLING_METHOD_SELECTOR - Static variable in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- examples() - Element in annotation interface studio.mevera.imperat.annotations.Usage
-
Example command usages to display in help output.
- examples(String...) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- ExceptionHandler - Annotation Interface in studio.mevera.imperat.annotations
-
Declares a method as a handler for a specific
Throwabletype. - executable() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that only includes executable nodes.
- executableUsage - Variable in class studio.mevera.imperat.command.tree.ParameterNode
- execute(Context<S>) - Method in class studio.mevera.imperat.BaseImperat
- execute(Context<S>) - Method in interface studio.mevera.imperat.Imperat
-
Dispatches and executes a command using
Contextonly - execute(S, String) - Method in class studio.mevera.imperat.BaseImperat
- execute(S, String) - Method in interface studio.mevera.imperat.Imperat
-
Dispatches the full command-line
- execute(S, String, String) - Method in class studio.mevera.imperat.BaseImperat
- execute(S, String, String) - Method in interface studio.mevera.imperat.Imperat
-
Dispatches and executes a command with certain raw arguments
- execute(S, String, String[]) - Method in interface studio.mevera.imperat.Imperat
-
Dispatches and executes a command with certain raw arguments
- execute(S, String, String[]) - Method in class studio.mevera.imperat.BaseImperat
- execute(S, Command<S>, String, String...) - Method in interface studio.mevera.imperat.Imperat
-
Dispatches and executes a command with certain raw arguments using
Command - execute(S, Command<S>, String, String[]) - Method in class studio.mevera.imperat.BaseImperat
- execute(S, ExecutionContext<S>) - Method in class studio.mevera.imperat.annotations.base.MethodCommandExecutor
-
Executes the command's actions
- execute(S, ExecutionContext<S>) - Method in interface studio.mevera.imperat.command.CommandExecution
-
Executes the command's actions
- execute(CommandExecution<S>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- execute(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.ParameterChain
- execute(Imperat<S>, S, ExecutionContext<S>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Executes the usage's actions using the supplied
CommandCoordinator - executeUsage(Command<S>, S, Context<S>, CommandUsage<S>, CommandPathSearch<S>) - Method in class studio.mevera.imperat.BaseImperat
- ExecutionContext<S extends Source> - Interface in studio.mevera.imperat.context
-
Represents the execution context for a command, responsible for resolving and managing command arguments, flags, and their values during command execution.
- ExecutionResult<S extends Source> - Class in studio.mevera.imperat.context
-
Represents the result of a command execution operation in the Imperat framework.
- exemptParameter(CommandParameter<S>) - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Marks the specified parameter as exempt from normal processing.
- ExternalSubCommand - Annotation Interface in studio.mevera.imperat.annotations
-
Declares external subcommand classes that should be attached to the annotated command container.
- extract(String, Context<S>) - Method in interface studio.mevera.imperat.command.flags.FlagExtractor
-
Extracts all flags used from a single string with no spaces.
- ExtractedInputFlag - Record Class in studio.mevera.imperat.context.internal
- ExtractedInputFlag(FlagData<?>, String, String, Object) - Constructor for record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Creates an instance of a
ExtractedInputFlagrecord class. - extractType(int) - Method in class studio.mevera.imperat.util.TypeCapturer
-
Extract generic parameter type from this class's direct superclass.
- extractType(Class<?>, int) - Method in class studio.mevera.imperat.util.TypeCapturer
-
Extract generic parameter type from a specific superclass/interface in the hierarchy.
F
- failure(Throwable, Context<S>) - Static method in class studio.mevera.imperat.context.ExecutionResult
-
Creates a failed execution result with the provided error information.
- failure(BiConsumer<AnnotationParser<?>, T>) - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.Builder
- failure(Context<S>) - Static method in class studio.mevera.imperat.context.ExecutionResult
-
Creates a failed execution result without specific error information.
- failure(ImperatException) - Static method in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Creates a failure result with the specified exception.
- FAILURE - Enum constant in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
-
Defines an execution that ended up with throwing an exception that had no handler
- FAILURE - Enum constant in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Indicates an error occurred during handling
- FieldAccessor<T> - Interface in studio.mevera.imperat.util.reflection
-
An interface for retrieving the field content.
- filter(HelpFilter<S>) - Method in class studio.mevera.imperat.command.tree.help.HelpQuery.Builder
-
Adds a filter to the queue of filters.
- filter(ParameterNode<S, ?>) - Method in interface studio.mevera.imperat.command.tree.help.HelpFilter
-
Determines whether a node should be included in help results.
- findClass(String...) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
Finds any
Classof the provided paths - findClass(Supplier<Class<?>>) - Static method in class studio.mevera.imperat.util.reflection.Reflections
- flag - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- flag() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Returns the value of the
flagrecord component. - flag(String, ParameterType<S, T>) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- flag(FlagData<S>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- Flag - Annotation Interface in studio.mevera.imperat.annotations
-
Declares one or more flag names for a parameter or type.
- FlagBuilder<S extends Source,
T> - Class in studio.mevera.imperat.command.parameters - FlagCommandParameter<S extends Source> - Class in studio.mevera.imperat.command.parameters
- flagData() - Method in class studio.mevera.imperat.command.parameters.FlagCommandParameter
- flagData() - Method in interface studio.mevera.imperat.command.parameters.FlagParameter
- FlagData<S extends Source> - Interface in studio.mevera.imperat.context
-
Represents a flag that has been parsed/read/loaded from a context of a command entered by the
Source - FlagData.FlagDataImpl<S extends Source> - Record Class in studio.mevera.imperat.context
- FlagDataImpl(String, List<String>, ParameterType<S, ?>, boolean) - Constructor for record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Creates an instance of a
FlagDataImplrecord class. - flagDefaultInputValue(OptionalValueSupplier) - Method in class studio.mevera.imperat.command.parameters.FlagBuilder
- FlagExtractor<S extends Source> - Interface in studio.mevera.imperat.command.flags
-
A class that extracts flags from a single string/argument.
- FlagInputHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- FlagInputHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.FlagInputHandler
- FlagParameter<S extends Source> - Interface in studio.mevera.imperat.command.parameters
- flagRaw() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Returns the value of the
flagRawrecord component. - flagRawInput() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Returns the value of the
flagRawInputrecord component. - FlagRegistrar<S extends Source> - Interface in studio.mevera.imperat
-
The
FlagRegistrarinterface is responsible for managing the registration and retrieval of free flags in the Imperat command framework. - flagSwitch(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- FLAT - Enum constant in enum class studio.mevera.imperat.command.tree.help.theme.HelpTheme.PresentationStyle
-
Simple flat list where commands are displayed one after another.
- FLOAT_NUMERIC_COMPARATOR - Static variable in interface studio.mevera.imperat.command.NumericComparator
- forCommand(Command<S>) - Static method in interface studio.mevera.imperat.resolvers.SuggestionResolver
- format - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- format() - Method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
-
Formats the usage parameter*
- format() - Method in class studio.mevera.imperat.annotations.parameters.NumericParameterDecorator
-
Formats the usage parameter using the command
- format() - Method in interface studio.mevera.imperat.command.Command
-
Formats the usage parameter
- format() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Formats the usage parameter, the default value is the name of the parameter
- format() - Method in class studio.mevera.imperat.command.parameters.FlagCommandParameter
- format() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- format() - Method in class studio.mevera.imperat.command.tree.ArgumentNode
- format() - Method in class studio.mevera.imperat.command.tree.CommandNode
- format() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- format() - Method in interface studio.mevera.imperat.context.FlagData
- format(String, CommandUsage<S>) - Static method in interface studio.mevera.imperat.command.CommandUsage
- format(Command<S>, CommandUsage<S>) - Static method in interface studio.mevera.imperat.command.CommandUsage
- format(Command<S>, CommandUsage<S>, ExecutionContext<S>, HelpTheme<S, C>) - Method in interface studio.mevera.imperat.command.tree.help.renderers.UsageFormatter
-
Formats a command usage pathway into a help component.
- Format - Annotation Interface in studio.mevera.imperat.annotations
-
Specifies a format string for parsing and displaying the annotated parameter.
- formatted() - Method in interface studio.mevera.imperat.command.CommandUsage
- Forward - Annotation Interface in studio.mevera.imperat.annotations
-
Annotation to forward or redirect the usages of a command/subcommand to another command/subcommand, therefore, the forwarded command/subcommand will be executed the same with same input-parameters as the inheriting one.
- free() - Element in annotation interface studio.mevera.imperat.annotations.Flag
- free() - Element in annotation interface studio.mevera.imperat.annotations.Switch
- free() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Returns the value of the
freerecord component. - FreeFlagHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- FreeFlagHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.FreeFlagHandler
- freshlyNew(Command<S>) - Static method in class studio.mevera.imperat.command.tree.CommandPathSearch
- future(TypeWrap<CompletableFuture<T>>, ParameterType<S, T>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
G
- get(int) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Gets an entry by index.
- get(Object) - Method in interface studio.mevera.imperat.util.reflection.FieldAccessor
-
Retrieve the content of a field.
- getAll() - Method in class studio.mevera.imperat.util.Registry
- getAllowedValues() - Method in exception studio.mevera.imperat.exception.parse.ValueOutOfConstraintException
- getAnnotation(Class<T>) - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
-
Returns this element's annotation for the specified valueType if such an annotation is present, else null.
- getAnnotation(Class<A>) - Method in interface studio.mevera.imperat.annotations.parameters.AnnotatedParameter
-
Get the instance of specific annotation
- getAnnotation(Class<A>) - Method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
-
Get the instance of specific annotation
- getAnnotationParser() - Method in interface studio.mevera.imperat.AnnotationInjector
-
Fetches the annotation parser
- getAnnotationParser() - Method in class studio.mevera.imperat.BaseImperat
- getAnnotationReplacer(Class<A>) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Fetches the
AnnotationReplacermapped to the entered annotation valueType. - getAnnotations() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
-
Returns annotations that are present on this element.
- getAnnotations() - Method in interface studio.mevera.imperat.annotations.parameters.AnnotatedParameter
- getAnnotations() - Method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
- getArgToComplete() - Method in interface studio.mevera.imperat.context.SuggestionContext
- getArgument(String) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets a resolved command argument by its parameter name.
- getArgumentOr(String, T) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets a resolved argument or returns a default value if not present.
- getAutoAssignedPermission(CommandParameter<S>) - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
This should fetch the command parameter's assigned permission.
- getBranch() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getBranch() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getBranchContent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getChild(Predicate<ParameterNode<S, ?>>) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getChildElement(Predicate<ParseElement<?>>) - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- getChildren() - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- getChildren() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getClass(String) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
A nullable
Class.forName(String)instead of throwing exceptions - getClosestUsage() - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- getClosestUsages(Context<S>) - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Collects the closest usages to a context, this traverses the whole
CommandTreefrom the beginning , visiting every branch/chain possible. - getCommand() - Method in class studio.mevera.imperat.context.internal.sur.ParameterValueAssigner
- getCommand(String) - Method in class studio.mevera.imperat.BaseImperat
- getCommand(String) - Method in interface studio.mevera.imperat.CommandRegistrar
- getCommand(CommandParameter<S>) - Method in interface studio.mevera.imperat.CommandRegistrar
- getCommandsUsed() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets all commands in the resolution path.
- getComponentType() - Method in class studio.mevera.imperat.util.TypeWrap
- getComponentType(Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- getConstructor(Class<?>, Class<?>...) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
A nullable
Class.getDeclaredConstructor(Class[])instead of throwing exceptions - getConsumedArguments() - Method in class studio.mevera.imperat.command.parameters.type.ParameterFlag
- getConsumedArguments() - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Returns the number of arguments consumed by this parameter type.
- getConsumedArguments() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getContext() - Method in class studio.mevera.imperat.command.tree.help.CommandHelp
- getContext() - Method in class studio.mevera.imperat.context.ExecutionResult
- getContextFactory() - Method in interface studio.mevera.imperat.ImperatConfig
- getContextResolvedArgument(Class<T>) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets an argument resolved by the context resolver system.
- getContextResolver(Type) - Method in interface studio.mevera.imperat.ImperatConfig
-
Fetches
ContextResolverfor a certain valueType - getContextResolver(Type, ParameterElement) - Method in class studio.mevera.imperat.command.ContextResolverRegistry
- getContextResolver(CommandParameter<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Fetches the
ContextResolversuitable for theCommandParameter - getContextResolverFactory(Type) - Method in interface studio.mevera.imperat.ImperatConfig
- getCooldown() - Method in interface studio.mevera.imperat.command.CooldownHolder
- getCooldownDuration() - Method in exception studio.mevera.imperat.exception.CooldownException
- getCooldownHandler() - Method in interface studio.mevera.imperat.command.CommandUsage
- getCoordinator() - Method in interface studio.mevera.imperat.command.CommandUsage
- getCoordinator() - Method in class studio.mevera.imperat.command.tree.help.CommandHelp
- getCtx() - Method in exception studio.mevera.imperat.exception.ImperatException
- getData() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getData(K) - Method in class studio.mevera.imperat.util.Registry
- getDeclaredAnnotations() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
-
Returns annotations that are directly present on this element.
- getDefaultAttachmentMode() - Method in interface studio.mevera.imperat.ImperatConfig
- getDefaultSuggestionResolver() - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Retrieves the default suggestion resolver associated with this registrar.
- getDefaultUsage() - Method in interface studio.mevera.imperat.command.Command
- getDefaultValueSupplier() - Method in interface studio.mevera.imperat.command.Command
- getDefaultValueSupplier() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- getDefaultValueSupplier() - Method in class studio.mevera.imperat.command.parameters.FlagCommandParameter
- getDefaultValueSupplier() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- getDepth() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getDetectedUsage() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets the command usage pattern that matched the input.
- getElement() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
- getEmptyIndent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getEmptyIndent() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getEmptyIndentContent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getEmptyUsage() - Method in interface studio.mevera.imperat.command.Command
-
Retrieves a usage with no args for this command
- getEnumSuggestionResolver() - Method in class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry
- getEnumType() - Method in exception studio.mevera.imperat.exception.parse.InvalidEnumException
- getError() - Method in class studio.mevera.imperat.context.ExecutionResult
-
Returns the error that caused the command execution to fail, if any.
- getExamples() - Method in interface studio.mevera.imperat.command.CommandUsage
-
The pre-defined syntax examples for this usage.
- getException() - Method in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Gets the exception associated with this result.
- getExceptionType() - Method in class studio.mevera.imperat.annotations.base.element.MethodThrowableResolver
- getExecutableUsage() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getExecution() - Method in interface studio.mevera.imperat.command.CommandUsage
- getExecutionContext() - Method in class studio.mevera.imperat.context.ExecutionResult
-
Returns the execution context containing command execution data and environment.
- getExecutionResult() - Method in exception studio.mevera.imperat.exception.InvalidSyntaxException
- getFactoryFor(Type) - Method in class studio.mevera.imperat.command.ContextResolverRegistry
- getField(Class<?>, Class<T>) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
Retrieve a field accessor for a specific field valueType and name.
- getField(Class<?>, Class<T>, int) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
Retrieve a field accessor for a specific field valueType and name.
- getField(Class<?>, String, Class<T>) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
Retrieve a field accessor for a specific field valueType and name.
- getField(String, Class<T>, int) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
Retrieve a field accessor for a specific field valueType and name.
- getField(String, String, Class<T>) - Static method in class studio.mevera.imperat.util.reflection.Reflections
-
Retrieve a field accessor for a specific field valueType and name.
- getFilters() - Method in class studio.mevera.imperat.command.tree.help.HelpQuery
-
Gets the queue of filters to apply to the help entries.
- getFlag(String) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Retrieves a flag by its name if it was provided in the command input.
- getFlagData() - Method in exception studio.mevera.imperat.exception.MissingFlagInputException
- getFlagExtractor() - Method in interface studio.mevera.imperat.command.CommandUsage
-
Retrieves the flag extractor instance for parsing command flags from input strings.
- getFlagFromRaw(String) - Method in interface studio.mevera.imperat.FlagRegistrar
-
Retrieves a registered flag based on its raw input (e.g., a string provided by the user in a command).
- getFlagParameterFromRaw(String) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Fetches the flag from the input
- getFlagValue(String) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets the resolved value of a command flag.
- getFooter(ExecutionContext<S>) - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getFooter(ExecutionContext<S>) - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getFooterContent(ExecutionContext<S>) - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getFoundUsage() - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- getGlobalDefaultUsage() - Method in interface studio.mevera.imperat.ImperatConfig
- getHeader(ExecutionContext<S>) - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getHeader(ExecutionContext<S>) - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getHeaderContent(ExecutionContext<S>) - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getHelpCoordinator() - Method in interface studio.mevera.imperat.ImperatConfig
- getHighest(int, int) - Static method in class studio.mevera.imperat.util.Preconditions
- getImperat() - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
- getInAccessibleParameter() - Method in exception studio.mevera.imperat.exception.PermissionDeniedException
- getIndent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getIndent() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getIndentContent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getIndentMultiplier() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getIndentMultiplier() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getInnerClassesInSourceOrder(Class<?>) - Static method in class studio.mevera.imperat.annotations.base.SourceOrderHelper
-
Gets inner classes (both static and non-static) in their original source code declaration order Debug version with detailed logging
- getInput() - Method in exception studio.mevera.imperat.exception.ParseException
- getInputCount() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getInsideGeneric(Type, Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- getInstanceFactory() - Method in interface studio.mevera.imperat.ImperatConfig
-
The factory for creating instances of types to be dependency injected.
- getKeys() - Method in class studio.mevera.imperat.util.Registry
- getLackingPermission() - Method in exception studio.mevera.imperat.exception.PermissionDeniedException
- getLastArg(ArgumentInput) - Static method in class studio.mevera.imperat.command.suggestions.AutoCompleter
- getLastBranch() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getLastBranch() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getLastBranchContent() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getLastCommandNode() - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- getLastNode() - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- getLastTimeExecuted() - Method in exception studio.mevera.imperat.exception.CooldownException
- getLastTimeExecuted(S) - Method in interface studio.mevera.imperat.command.cooldown.CooldownHandler
-
Fetches the last time the command source executed a specific command usage
- getLastUsedCommand() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets the most specific command that was resolved in this context.
- getLayout() - Method in class studio.mevera.imperat.command.tree.help.HelpRenderOptions
-
Gets the current rendering layout.
- getLeast(int, int) - Static method in class studio.mevera.imperat.util.Preconditions
- getLimit() - Method in class studio.mevera.imperat.command.tree.help.HelpQuery
-
Gets the maximum number of help entries to return.
- getMainPermission() - Method in interface studio.mevera.imperat.command.Command
- getMainUsage() - Method in interface studio.mevera.imperat.command.Command
- getMap() - Method in class studio.mevera.imperat.util.Registry
- getMax() - Method in class studio.mevera.imperat.command.parameters.NumericRange
- getMaxDepth() - Method in class studio.mevera.imperat.command.tree.help.HelpQuery
-
Gets the maximum depth to traverse the command tree when searching for help entries.
- getMaxLength() - Method in interface studio.mevera.imperat.command.CommandUsage
- getMessage() - Method in exception studio.mevera.imperat.exception.SourceException
- getMethodParamContextResolver(ParameterElement) - Method in interface studio.mevera.imperat.ImperatConfig
-
Fetches the context resolver for
ParameterElementof a method - getMethodsInSourceOrder(Class<?>) - Static method in class studio.mevera.imperat.annotations.base.SourceOrderHelper
-
Gets methods in their original source code declaration order
- getMin() - Method in class studio.mevera.imperat.command.parameters.NumericRange
- getMinLength() - Method in interface studio.mevera.imperat.command.CommandUsage
- getModifiers() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getName() - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- getName() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getName() - Method in class studio.mevera.imperat.annotations.base.element.ParameterElement
- getName() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
- getName() - Method in class studio.mevera.imperat.command.parameters.type.ParameterCommand
- getNamedSuggestionResolver(String) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Fetches the suggestion provider/resolver registered by its unique name
- getNextCommandChild() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getNextParameterChild() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getNode() - Method in class studio.mevera.imperat.command.tree.help.HelpEntry
-
Retrieves the parameter node associated with this help entry.
- getNumberTypeDisplay() - Method in exception studio.mevera.imperat.exception.parse.InvalidNumberFormatException
- getNumericType() - Method in exception studio.mevera.imperat.exception.parse.InvalidNumberFormatException
- getObjectInstance() - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- getOptionalValueSupplier(Class<? extends OptionalValueSupplier>) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- getOptionValue(HelpTheme.Option<T>) - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getOptionValue(HelpTheme.Option<T>) - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getOr(int, String) - Method in interface studio.mevera.imperat.context.ArgumentInput
-
Fetches the element at the specified index
- getOriginalError() - Method in exception studio.mevera.imperat.exception.parse.InvalidNumberFormatException
- getOriginalRaw() - Method in interface studio.mevera.imperat.context.ArgumentInput
- getOwningClass() - Method in class studio.mevera.imperat.annotations.base.element.ParameterElement
- getOwningCommand() - Method in exception studio.mevera.imperat.exception.ProcessorException
- getParameter() - Method in class studio.mevera.imperat.context.internal.StreamPosition
- getParameter() - Method in exception studio.mevera.imperat.exception.NumberOutOfRangeException
- getParameter(int) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Fetches the parameter at the index
- getParameter(Predicate<CommandParameter<S>>) - Method in interface studio.mevera.imperat.command.CommandUsage
- getParameterAt(int) - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getParameterizedTypes() - Method in class studio.mevera.imperat.util.TypeWrap
- getParameters() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getParameters() - Method in interface studio.mevera.imperat.command.CommandUsage
- getParametersList() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the complete list of command parameters associated with this stream.
- getParameterSuggestionResolver(CommandParameter<S>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Fetches the suggestion provider/resolver for a specific valueType of argument or parameter.
- getParametersWithoutFlags() - Method in interface studio.mevera.imperat.command.CommandUsage
- getParameterType(Type) - Method in interface studio.mevera.imperat.ImperatConfig
-
Fetches
ParameterTypefor a certain value - getParamName(ImperatConfig<S>, ParameterElement) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- getParamName(ImperatConfig<S>, ParameterElement, Named, Flag, Switch) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- getParent() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getParent() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
- getParent() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getParsedClass() - Method in interface studio.mevera.imperat.annotations.base.AnnotationReader
- getPathway() - Method in class studio.mevera.imperat.command.tree.help.HelpEntry
-
Retrieves the command usage pathway associated with this help entry.
- getPathwaySearch() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Fetches the command path search instance used to resolve the command execution path.
- getPermission() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getPermissionAssigner() - Method in interface studio.mevera.imperat.ImperatConfig
-
The permission assigner for every
CommandParameter - getPermissionChecker() - Method in interface studio.mevera.imperat.ImperatConfig
- getPermissionDelimiter() - Method in interface studio.mevera.imperat.NodePermissionAssigner
-
Gets the delimiter used to separate permission node segments.
- getPermissionLoader() - Method in interface studio.mevera.imperat.ImperatConfig
- getPermissions() - Method in class studio.mevera.imperat.command.parameters.InputParameter
-
The permission for this parameter
- getPermissions() - Method in interface studio.mevera.imperat.command.PermissionHolder
-
Retrieves the permission associated with this holder.
- getPlaceHolder(String) - Method in interface studio.mevera.imperat.ImperatConfig
-
The id/format of this placeholder, must be unique and lowercase
- getPlatform() - Method in interface studio.mevera.imperat.Imperat
- getPostProcessors() - Method in interface studio.mevera.imperat.command.Command
- getPostProcessors() - Method in interface studio.mevera.imperat.ProcessorRegistrar
- getPreferredStyle() - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- getPreferredStyle() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
-
Gets the preferred presentation style for this theme.
- getPreProcessors() - Method in interface studio.mevera.imperat.command.Command
- getPreProcessors() - Method in interface studio.mevera.imperat.ProcessorRegistrar
- getPrimaryType() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getProcessors() - Method in interface studio.mevera.imperat.command.processors.CommandProcessingChain
- getProcessorType() - Method in exception studio.mevera.imperat.exception.ProcessorException
- getRange() - Method in class studio.mevera.imperat.annotations.parameters.NumericParameterDecorator
- getRange() - Method in interface studio.mevera.imperat.command.parameters.NumericParameter
- getRange() - Method in exception studio.mevera.imperat.exception.NumberOutOfRangeException
- getRaw() - Method in class studio.mevera.imperat.context.internal.StreamPosition
- getRawArgument(int) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets the raw string input for an argument by its position.
- getRawQueue() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the underlying queue containing all raw input strings.
- getRawType() - Method in class studio.mevera.imperat.util.TypeWrap
- getReason() - Method in exception studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException
- getRegisteredCommands() - Method in class studio.mevera.imperat.BaseImperat
-
Gets all registered commands
- getRegisteredCommands() - Method in interface studio.mevera.imperat.CommandRegistrar
-
Gets all registered commands
- getRegisteredFlags() - Method in interface studio.mevera.imperat.FlagRegistrar
-
Retrieves all registered flags in the system.
- getRemainingDuration() - Method in exception studio.mevera.imperat.exception.CooldownException
- getRequiredSeparator() - Method in exception studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException
- getResolvedArgument(Command<S>, String) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets a resolved argument by its owning command and parameter name.
- getResolvedArguments() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets all resolved arguments in input order.
- getResolvedArguments(Command<S>) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets all resolved arguments for a specific command.
- getResolvedFlags() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Gets all flags that were resolved from the command input.
- getResolvedSource(Type) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Resolves the command source into a different type using the configured source resolver.
- getResolver(Type) - Method in class studio.mevera.imperat.context.ParamTypeRegistry
- getResolverByName(String) - Method in class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry
- getResolverWithoutParameterElement(Type) - Method in class studio.mevera.imperat.command.ContextResolverRegistry
- getRestrictions() - Method in exception studio.mevera.imperat.exception.parse.WordOutOfRestrictionsException
- getResult() - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- getReturnResolver(Type) - Method in class studio.mevera.imperat.command.ReturnResolverRegistry
- getReturnResolver(Type) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Fetches the
ReturnResolverfrom an internal registry. - getReturnType() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- getRootClass() - Method in interface studio.mevera.imperat.annotations.base.AnnotationReader
- getRootUsagePredicate() - Method in class studio.mevera.imperat.command.tree.help.HelpQuery
- getRules() - Method in interface studio.mevera.imperat.annotations.base.element.selector.ElementSelector
- getSearch() - Method in class studio.mevera.imperat.context.ExecutionResult
-
Returns the command path search result containing parsing and matching information.
- getSimpleName() - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- getSinglePermission() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
For parameters, ONLY one permission is allowed for each parameter.
- getSinglePermission() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- getSnowflake(String) - Static method in class studio.mevera.imperat.util.StringUtils
- getSourceResolver(Type) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Fetches the
SourceResolverfrom an internal registry. - getSubCommand(String) - Method in interface studio.mevera.imperat.command.Command
- getSubCommand(String, String) - Method in class studio.mevera.imperat.BaseImperat
- getSubCommand(String, String) - Method in interface studio.mevera.imperat.CommandRegistrar
- getSubCommands() - Method in interface studio.mevera.imperat.command.Command
- getSuggestionResolver() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Fetches the suggestion resolver linked to this command parameter.
- getSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- getSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.InputParameter
-
Fetches the suggestion resolver linked to this command parameter.
- getSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Returns the suggestion resolver associated with this parameter type.
- getSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.type.ParameterCompletableFuture
- getSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.type.ParameterFlag
- getSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.type.ParameterOptional
- getSuggestionResolver() - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Gets the suggestion resolver for this parameter type.
- getSuggestionResolverByType(Type) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Fetches the suggestion provider/resolver for a specific valueType of argument or parameter.
- getSupportedTypes() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getTargetType() - Method in exception studio.mevera.imperat.exception.InvalidSourceException
- getTheme() - Method in class studio.mevera.imperat.command.tree.help.HelpRenderOptions
-
Gets the current rendering theme.
- getThrowableResolver(Class<T>) - Method in interface studio.mevera.imperat.ThrowableHandler
-
Retrieves the
ThrowableResolverresponsible for handling the specified valueType of throwable. - getTopChild() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- getTreeBranch(boolean) - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getTreeIndent(boolean) - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getType() - Method in class studio.mevera.imperat.annotations.base.element.ParameterElement
- getType() - Method in class studio.mevera.imperat.command.returns.BaseReturnResolver
- getType() - Method in interface studio.mevera.imperat.command.returns.ReturnResolver
-
Returns the type of the return value.
- getType() - Method in exception studio.mevera.imperat.exception.SourceException
- getType() - Method in class studio.mevera.imperat.util.TypeWrap
- getUsage() - Method in exception studio.mevera.imperat.exception.PermissionDeniedException
- getUsage(Predicate<CommandUsage<S>>) - Method in interface studio.mevera.imperat.command.Command
- getUsageCooldown() - Method in interface studio.mevera.imperat.command.cooldown.CooldownHandler
-
The required of a usage
- getUsageFormatter() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- getUsageVerifier() - Method in interface studio.mevera.imperat.ImperatConfig
- getUsedFreeFlags() - Method in interface studio.mevera.imperat.command.CommandUsage
-
The allowed free flags in this usage.
- getValue() - Method in exception studio.mevera.imperat.exception.NumberOutOfRangeException
- GlobalAttachmentMode - Annotation Interface in studio.mevera.imperat.annotations
-
Sets a default attachment mode for all subcommands under the annotated type or method when their own attachment mode is
AttachmentMode.UNSET. - globalDefaultUsageBuilder(CommandUsage.Builder<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the global default usage builder that will be used for all commands that do not have their own specific usage builder configured.
- greedy - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- Greedy - Annotation Interface in studio.mevera.imperat.annotations
-
Marks a parameter or type as greedy, consuming the remainder of the input instead of a single token (e.g., capturing full sentences).
H
- handle(ExecutionContext<S>, MethodElement, T) - Method in interface studio.mevera.imperat.command.returns.ReturnResolver
-
Handles the return value of a command.
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.EmptyInputHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.FlagInputHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.FreeFlagHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.NonFlagWhenExpectingFlagHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.OptionalParameterHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in interface studio.mevera.imperat.context.internal.sur.handlers.ParameterHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.RequiredParameterHandler
- handle(ExecutionContext<S>, CommandInputStream<S>) - Method in class studio.mevera.imperat.context.internal.sur.handlers.SubCommandHandler
- handle(ImperatConfig<S>, Context<S>) - Method in exception studio.mevera.imperat.exception.SelfHandledException
-
Handles the exception
- handleExecutionMiddleOptionalSkipping() - Method in interface studio.mevera.imperat.ImperatConfig
-
Whether to handle the skipping of consecutive optional argument during execution For example if you have `/test [a] [b]` where parameter 'a' is of type String and parameter 'b' is of type Integer.
- handleExecutionThrowable(E, Context<S>, Class<?>, String) - Method in interface studio.mevera.imperat.BaseThrowableHandler
-
Handles exceptions that occur during command execution by traversing the exception cause chain and applying appropriate resolution strategies.
- handleExecutionThrowable(E, Context<S>, Class<?>, String) - Method in interface studio.mevera.imperat.ThrowableHandler
-
Handles a given throwable by finding the appropriate exception handler or using a default handling strategy if no specific handler is found.
- handleMiddleOptionalArgSkipping(boolean) - Method in class studio.mevera.imperat.ConfigBuilder
- HandleResult - Enum Class in studio.mevera.imperat.context.internal.sur
-
Represents the result of a parameter handler execution, controlling chain flow with results per handler per iteration.
- HAS_A_MAIN_ANNOTATION - Static variable in interface studio.mevera.imperat.annotations.base.element.selector.MethodRules
- HAS_EXCEPTION_HANDLER_ANNOTATION - Static variable in interface studio.mevera.imperat.annotations.base.element.selector.MethodRules
- HAS_EXCEPTION_HANDLER_PARAMS_IN_ORDER - Static variable in interface studio.mevera.imperat.annotations.base.element.selector.MethodRules
- HAS_KNOWN_SENDER - Static variable in interface studio.mevera.imperat.annotations.base.element.selector.MethodRules
- hasAlias(String) - Method in interface studio.mevera.imperat.context.FlagData
- hasAnnotation(Class<? extends Annotation>) - Method in interface studio.mevera.imperat.annotations.parameters.AnnotatedParameter
- hasAnnotationReplacerFor(Class<? extends Annotation>) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Checks if the specific valueType of annotation entered has a
AnnotationReplacerfor it in the internal registry for replacers - hasContextResolver(Type) - Method in interface studio.mevera.imperat.ImperatConfig
-
Checks whether the valueType has a registered context-resolver
- hasCooldown(S) - Method in interface studio.mevera.imperat.command.cooldown.CooldownHandler
-
Checks if there's a cooldown on the usage for a specific command sender
- hasFailed() - Method in class studio.mevera.imperat.context.ExecutionResult
-
Determines whether this execution result represents a failed command execution.
- hasField(Object) - Method in interface studio.mevera.imperat.util.reflection.FieldAccessor
-
Determine if the given object has this field.
- hasFlag(String) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Checks whether the raw input is a flag registered by this usage
- hasGenericType(Type, Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- hashCode() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
- hashCode() - Method in class studio.mevera.imperat.annotations.base.element.RootCommandClass
- hashCode() - Method in class studio.mevera.imperat.command.cooldown.UsageCooldown
- hashCode() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- hashCode() - Method in record class studio.mevera.imperat.command.suggestions.CompletionArg
-
Returns a hash code value for this object.
- hashCode() - Method in class studio.mevera.imperat.command.tree.help.HelpEntry
-
Computes the hash code for this HelpEntry based on its parameter node.
- hashCode() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
- hashCode() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- hashCode() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class studio.mevera.imperat.context.internal.Argument
-
Returns a hash code value for this object.
- hashCode() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Returns a hash code value for this object.
- hashCode() - Method in class studio.mevera.imperat.context.internal.StreamPosition
- hashCode() - Method in record class studio.mevera.imperat.util.Pair
-
Returns a hash code value for this object.
- hashCode() - Method in class studio.mevera.imperat.util.Registry
- hasName(String) - Method in interface studio.mevera.imperat.command.Command
- hasNextLetter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is another character available for reading in the current input string.
- hasNextParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a next command parameter available in the stream.
- hasNextRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a next raw input string available in the stream.
- hasParameters(Predicate<CommandParameter<S>>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Searches for a parameter with specific valueType
- hasParameters(List<CommandParameter<S>>) - Method in interface studio.mevera.imperat.command.CommandUsage
- hasParameterType(Type) - Method in interface studio.mevera.imperat.ImperatConfig
- hasParamType(Class<?>) - Method in interface studio.mevera.imperat.command.CommandUsage
- hasParent() - Method in interface studio.mevera.imperat.command.Command
- hasPermission(String) - Method in interface studio.mevera.imperat.command.PermissionHolder
- hasPermission(S, CommandParameter<S>) - Method in interface studio.mevera.imperat.resolvers.PermissionChecker
- hasPermission(S, String) - Method in interface studio.mevera.imperat.resolvers.PermissionChecker
- hasPermission(S, CommandHelp<S>) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that checks if a source has permission for the node.
- hasPermission(S, Context<S>) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that checks if a source has permission for the node.
- hasPermission(S, PermissionChecker<S>) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that checks if a source has permission for the node.
- hasPreviousParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a previous command parameter available in the stream.
- hasPreviousRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a previous raw input string available in the stream.
- hasRange() - Method in interface studio.mevera.imperat.command.parameters.NumericParameter
- hasResolvedFlag(CommandParameter<S>) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Checks if a flag parameter was resolved in this context.
- hasResolvedFlag(FlagData<S>) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Checks if a flag was resolved in this context.
- hasSourceResolver(Type) - Method in interface studio.mevera.imperat.ImperatConfig
- hasUsagePermission(S, CommandUsage<S>) - Method in interface studio.mevera.imperat.resolvers.PermissionChecker
- HelpComponent<S extends Source,
C> - Class in studio.mevera.imperat.command.tree.help.theme - HelpComponent(C) - Constructor for class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- helpCoordinator(HelpCoordinator<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the
HelpCoordinatorthat coordinates all the core-components of the new help API, to create a coordinator callHelpCoordinator.create() - HelpCoordinator<S extends Source> - Class in studio.mevera.imperat.command.tree.help
- HelpEntry<S extends Source> - Class in studio.mevera.imperat.command.tree.help
-
Represents a final, immutable entry for a single executable command in the help system.
- HelpEntryFactory<S extends Source> - Interface in studio.mevera.imperat.command.tree.help
-
Factory interface for creating
HelpEntryinstances from parameter nodes. - HelpEntryList<S extends Source> - Class in studio.mevera.imperat.command.tree.help
-
A custom list implementation that maintains insertion order, prevents duplicates, and supports indexing - implemented without using any Java collections.
- HelpEntryList() - Constructor for class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Creates a new HelpEntryList with default initial capacity.
- HelpEntryList(int) - Constructor for class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Creates a new HelpEntryList with specified initial capacity.
- HelpFilter<S extends Source> - Interface in studio.mevera.imperat.command.tree.help
-
A functional interface for filtering help entries during query operations.
- HelpFilters - Class in studio.mevera.imperat.command.tree.help
-
Factory class providing common help filters.
- HelpLayoutRenderer<S extends Source,
C> - Interface in studio.mevera.imperat.command.tree.help.renderers -
Interface for rendering help documentation.
- HelpQuery<S extends Source> - Class in studio.mevera.imperat.command.tree.help
-
An immutable data class representing a query for help documentation.
- HelpQuery.Builder<S extends Source> - Class in studio.mevera.imperat.command.tree.help
-
A builder class for creating instances of
HelpQuery. - HelpRenderOptions<S extends Source,
C> - Class in studio.mevera.imperat.command.tree.help -
Rendering options for customizing help display.
- HelpRenderOptions.Layout - Enum Class in studio.mevera.imperat.command.tree.help
-
An enumeration of the available help documentation layouts.
- HelpTheme<S extends Source,
C> - Interface in studio.mevera.imperat.command.tree.help.theme -
A theme for help documentation generation and presentation.
- HelpTheme.Option<T> - Interface in studio.mevera.imperat.command.tree.help.theme
- HelpTheme.PresentationStyle - Enum Class in studio.mevera.imperat.command.tree.help.theme
-
Available presentation styles for help display.
I
- id() - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme.Option
- id() - Method in interface studio.mevera.imperat.placeholders.Placeholder
-
The unique name for this placeholder
- ignoreACPermissions(boolean) - Method in class studio.mevera.imperat.command.Command.Builder
- ignoreACPermissions(boolean) - Method in interface studio.mevera.imperat.command.Command
-
if true, it will ignore permission checks on the auto-completion of command and sub commands
- imperat - Variable in class studio.mevera.imperat.annotations.base.AnnotationParser
- imperat - Variable in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- imperat() - Method in interface studio.mevera.imperat.command.Command
- imperat() - Method in interface studio.mevera.imperat.context.Context
- Imperat<S extends Source> - Interface in studio.mevera.imperat
-
Represents the class that handles all commands' registrations and executions It also caches the settings that the user can change or modify in the api.
- imperatConfig() - Method in interface studio.mevera.imperat.context.Context
- ImperatConfig<S extends Source> - Interface in studio.mevera.imperat
-
The
ImperatConfiginterface defines the core configuration and interaction points for a command processing system. - ImperatDebugger - Class in studio.mevera.imperat.util
- ImperatException - Exception in studio.mevera.imperat.exception
- ImperatException(String, Throwable, Context<?>) - Constructor for exception studio.mevera.imperat.exception.ImperatException
- ImperatException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.ImperatException
- ImperatException(Context<?>) - Constructor for exception studio.mevera.imperat.exception.ImperatException
- index - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- index() - Method in record class studio.mevera.imperat.command.suggestions.CompletionArg
-
Returns the value of the
indexrecord component. - index() - Method in record class studio.mevera.imperat.context.internal.Argument
-
Returns the value of the
indexrecord component. - indexOf(HelpEntry<S>) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Returns the index of an entry.
- input - Variable in exception studio.mevera.imperat.exception.ParseException
- InputParameter<S extends Source> - Class in studio.mevera.imperat.command.parameters
- InputParameter(String, ParameterType<S, ?>, String, Description, boolean, boolean, boolean, OptionalValueSupplier, SuggestionResolver<S>) - Constructor for class studio.mevera.imperat.command.parameters.InputParameter
- inputSuggestionResolver() - Method in class studio.mevera.imperat.command.parameters.FlagCommandParameter
- inputSuggestionResolver() - Method in interface studio.mevera.imperat.command.parameters.FlagParameter
- inputType() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Returns the value of the
inputTyperecord component. - inputType() - Method in interface studio.mevera.imperat.context.FlagData
- inputValueType() - Method in interface studio.mevera.imperat.command.parameters.FlagParameter
- insertFlag(FlagData<S>) - Method in interface studio.mevera.imperat.command.flags.FlagExtractor
-
Inserts a flag during into the trie.
- INSTANCE - Static variable in class studio.mevera.imperat.util.asm.DefaultMethodCallerFactory
- instanceFactory(InstanceFactory<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the instance factory used for creating instances of classes during command processing and dependency resolution.
- InstanceFactory<S extends Source> - Interface in studio.mevera.imperat.annotations.base
-
Functional interface for creating instances of a given class.
- INTEGER_NUMERIC_COMPARATOR - Static variable in interface studio.mevera.imperat.command.NumericComparator
- InvalidBooleanException - Exception in studio.mevera.imperat.exception.parse
- InvalidBooleanException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.InvalidBooleanException
- InvalidEnumException - Exception in studio.mevera.imperat.exception.parse
- InvalidEnumException(String, Class<? extends Enum>, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.InvalidEnumException
- InvalidMapEntryFormatException - Exception in studio.mevera.imperat.exception.parse
- InvalidMapEntryFormatException(String, String, InvalidMapEntryFormatException.Reason, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException
- InvalidMapEntryFormatException.Reason - Enum Class in studio.mevera.imperat.exception.parse
- InvalidNumberFormatException - Exception in studio.mevera.imperat.exception.parse
- InvalidNumberFormatException(String, NumberFormatException, String, TypeWrap<? extends Number>, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.InvalidNumberFormatException
- InvalidSourceException - Exception in studio.mevera.imperat.exception
- InvalidSourceException(Type, Context<?>) - Constructor for exception studio.mevera.imperat.exception.InvalidSourceException
- InvalidSyntaxException - Exception in studio.mevera.imperat.exception
- InvalidSyntaxException(CommandPathSearch<S>, Context<?>) - Constructor for exception studio.mevera.imperat.exception.InvalidSyntaxException
- InvalidUUIDException - Exception in studio.mevera.imperat.exception
- InvalidUUIDException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.InvalidUUIDException
- IS_PUBLIC - Static variable in interface studio.mevera.imperat.annotations.base.element.selector.MethodRules
- isAbnormalClass(Class<?>) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- isAbnormalClass(ParseElement<?>) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- isAcceptableGreedyWrapper(Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- isAllOptionalInput() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- isAnnotated() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isArray() - Method in class studio.mevera.imperat.util.TypeWrap
- isAutoPermissionAssignMode() - Method in interface studio.mevera.imperat.ImperatConfig
-
Is the automatic permission assigning mode enabled? If so, the
CommandTreewill be usingPermissionLoaderto deduce the permission perCommandParameterand theNodePermissionAssignerto assign the deduced permission to aParameterNodewhich is a crucial part ofCommandTree - isBoolean(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isBoxed(Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- isByte(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isCommand() - Method in class studio.mevera.imperat.annotations.base.element.RootCommandClass
- isCommand() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isCommand() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isConsole() - Method in interface studio.mevera.imperat.context.Source
- isContextResolved() - Method in class studio.mevera.imperat.annotations.base.element.ParameterElement
- isCurrentLetterAvailable() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a character available at the current cursor position within the current raw input string.
- isCurrentParameterAvailable() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a command parameter available at the current cursor position.
- isCurrentRawInputAvailable() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Checks if there is a raw input string available at the current cursor position.
- isDefault() - Method in interface studio.mevera.imperat.command.CommandUsage
- isDouble(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isDoubleFlag(String) - Static method in class studio.mevera.imperat.util.Patterns
- isEmpty() - Method in class studio.mevera.imperat.command.Description
- isEmpty() - Method in interface studio.mevera.imperat.command.parameters.OptionalValueSupplier
- isEmpty() - Method in record class studio.mevera.imperat.command.suggestions.CompletionArg
- isEmpty() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Checks if the list is empty.
- isEnabled() - Static method in class studio.mevera.imperat.util.ImperatDebugger
- isEndOfQuote(char, char) - Static method in class studio.mevera.imperat.util.StringUtils
- isEntryPointAnnotation(Class<? extends Annotation>) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
- isExecutable() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isFlag() - Method in class studio.mevera.imperat.annotations.parameters.AnnotationParameterDecorator
- isFlag() - Method in interface studio.mevera.imperat.command.Command
- isFlag() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isFlag() - Method in interface studio.mevera.imperat.command.parameters.FlagParameter
- isFlag() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- isFlag() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isFloat(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isFree() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
- isFree() - Method in interface studio.mevera.imperat.context.FlagData
- isGlobal() - Method in exception studio.mevera.imperat.exception.ProcessorException
- isGreedy() - Method in interface studio.mevera.imperat.command.Command
- isGreedy() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isGreedy() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- isGreedy(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterArray
- isGreedy(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCollection
- isGreedy(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCompletableFuture
- isGreedy(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterMap
- isGreedy(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterOptional
- isGreedy(CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterString
- isGreedy(CommandParameter<S>) - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Determines if this parameter type is greedy, meaning it consumes multiple arguments.
- isGreedyParam() - Method in class studio.mevera.imperat.command.tree.ArgumentNode
- isGreedyParam() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isGreedyString() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isGreedyString() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- isHelp() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- isHelp() - Method in interface studio.mevera.imperat.command.CommandUsage
- isIgnoringACPerms() - Method in interface studio.mevera.imperat.command.Command
-
whether to ignore permission checks on the auto-completion of command and sub commands or not
- isInputFlag(String) - Static method in class studio.mevera.imperat.util.Patterns
- isInteger(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isKnownAnnotation(Class<? extends Annotation>) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Checks the internal registry whether the valueType of annotation entered is known/registered or not.
- isLast() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isLast(ShiftTarget) - Method in class studio.mevera.imperat.context.internal.StreamPosition
- isLong(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isNumber(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isNumeric() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isNumericType(Class<?>) - Static method in class studio.mevera.imperat.util.TypeUtility
- isNumericType(TypeWrap<?>) - Static method in class studio.mevera.imperat.util.TypeUtility
- isOptional() - Method in class studio.mevera.imperat.annotations.base.element.ParameterElement
- isOptional() - Method in interface studio.mevera.imperat.command.Command
- isOptional() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isOptional() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- isOptional() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isOptionalParameterSuggestionOverlappingEnabled() - Method in interface studio.mevera.imperat.ImperatConfig
-
Determines whether multiple optional parameters can be suggested simultaneously during tab completion at the same command depth level.
- isPrimitive() - Method in class studio.mevera.imperat.util.TypeWrap
- isPrimitive(Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- isQuoteChar(char) - Static method in class studio.mevera.imperat.util.StringUtils
- isRelatedToType(Type) - Method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- isRelatedToType(Type) - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Checks if the given type is related to this parameter type.
- isRequired() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- isRequired() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isRoot() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isRootClass() - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- isShort(String) - Static method in class studio.mevera.imperat.util.TypeUtility
- isSingleFlag(String) - Static method in class studio.mevera.imperat.util.Patterns
- isStaticClass() - Method in class studio.mevera.imperat.annotations.base.element.ClassElement
- isStoppable() - Method in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
- isSubCommand() - Method in interface studio.mevera.imperat.command.Command
- isSubtypeOf(Type) - Method in class studio.mevera.imperat.util.TypeWrap
- isSubtypeOf(TypeWrap<?>) - Method in class studio.mevera.imperat.util.TypeWrap
- isSupertypeOf(Type) - Method in class studio.mevera.imperat.util.TypeWrap
- isSupertypeOf(TypeWrap<?>) - Method in class studio.mevera.imperat.util.TypeWrap
- isSwitch() - Method in interface studio.mevera.imperat.command.parameters.FlagParameter
- isSwitch() - Method in interface studio.mevera.imperat.context.FlagData
- isSwitch() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
- isTesting() - Static method in class studio.mevera.imperat.util.ImperatDebugger
- isTrueFlag() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- isUsedIn(String) - Method in interface studio.mevera.imperat.placeholders.Placeholder
- isUsingTestCases() - Static method in class studio.mevera.imperat.util.ImperatDebugger
- isWithin(N, NumericRange) - Method in interface studio.mevera.imperat.command.NumericComparator
- isWrapped() - Method in class studio.mevera.imperat.util.TypeWrap
- iterator() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
-
Returns an iterator over elements of valueType
T. - iterator() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
J
- join(String, int) - Method in interface studio.mevera.imperat.context.ArgumentInput
-
Joins all present arguments in this stack, starting from the specified index
- join(String) - Method in interface studio.mevera.imperat.context.ArgumentInput
-
Joins all present arguments in this stack
L
- label() - Method in interface studio.mevera.imperat.context.Context
- left() - Method in record class studio.mevera.imperat.util.Pair
-
Returns the value of the
leftrecord component. - limit(int) - Method in class studio.mevera.imperat.command.tree.help.HelpQuery.Builder
-
Sets the maximum number of help entries to return.
- LIST - Enum constant in enum class studio.mevera.imperat.command.tree.help.HelpRenderOptions.Layout
-
Simple list view where commands are displayed one after another.
- literal(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- literalBuilder(String) - Static method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- load(CommandParameter<S>) - Method in interface studio.mevera.imperat.PermissionLoader
-
Deduces a permission for a command parameter.
- loadParameterInstances(Imperat<S>, List<CommandParameter<S>>, S, ExecutionContext<S>, MethodElement) - Static method in class studio.mevera.imperat.annotations.base.AnnotationHelper
- LONG_NUMERIC_COMPARATOR - Static variable in interface studio.mevera.imperat.command.NumericComparator
M
- MAIN - Enum constant in enum class studio.mevera.imperat.command.AttachmentMode
-
Attaches the sub command to the main
CommandUsageof aCommandA main usage is a usage that contains required arguments/parameters. - map(TypeWrap<M>, Supplier<M>, ParameterType<S, K>, ParameterType<S, V>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- matches(double) - Method in class studio.mevera.imperat.command.parameters.NumericRange
- matches(Type, Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- matchesInput(int, Context<S>) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- matchesInput(int, Context<S>, boolean) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Determines whether the provided input matches the expected format or criteria for a given command parameter.
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterBoolean
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCommand
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCompletableFuture
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterEnum
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterFlag
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterNumber
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterOptional
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Checks if the given input string matches this parameter type for the specified parameter.
- matchesInput(int, Context<S>, CommandParameter<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterUUID
- matchesRange(N) - Method in interface studio.mevera.imperat.command.parameters.NumericParameter
- max() - Element in annotation interface studio.mevera.imperat.annotations.Range
- max(double) - Static method in class studio.mevera.imperat.command.parameters.NumericRange
- maxDepth(int) - Method in class studio.mevera.imperat.command.tree.help.HelpQuery.Builder
-
Sets the maximum depth to traverse the command tree.
- mergeWithCommand(Command<S>, CommandUsage<S>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Creates a new command usage instance to use it to Merge this usage with the usage regarding parameters and takes the targetToLoad's execution as well
- MethodCaller - Interface in studio.mevera.imperat.util.asm
-
A high-level wrapper, responsible for invoking methods reflectively.
- MethodCaller.BoundMethodCaller - Interface in studio.mevera.imperat.util.asm
-
Represents a
MethodCallerthat is attached to an instance - MethodCallerFactory - Interface in studio.mevera.imperat.util.asm
-
Factory for creating
MethodCallers for methods. - MethodCommandExecutor<S extends Source> - Class in studio.mevera.imperat.annotations.base
- MethodElement - Class in studio.mevera.imperat.annotations.base.element
- MethodElement(AnnotationParser<S>, ClassElement, Method) - Constructor for class studio.mevera.imperat.annotations.base.element.MethodElement
- methodHandles() - Static method in interface studio.mevera.imperat.util.asm.MethodCallerFactory
-
Returns a
MethodCallerFactorythat uses the new method handling API to create method callers. - MethodRules - Interface in studio.mevera.imperat.annotations.base.element.selector
- methodSelector - Variable in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- MethodThrowableResolver<E extends Throwable,
S extends Source> - Class in studio.mevera.imperat.annotations.base.element - min() - Element in annotation interface studio.mevera.imperat.annotations.Range
- min(double) - Static method in class studio.mevera.imperat.command.parameters.NumericRange
- MISSING_SEPARATOR - Enum constant in enum class studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException.Reason
- MissingFlagInputException - Exception in studio.mevera.imperat.exception
- MissingFlagInputException(FlagParameter<?>, String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.MissingFlagInputException
N
- name - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- name - Variable in class studio.mevera.imperat.command.parameters.ParameterBuilder
- name() - Method in interface studio.mevera.imperat.command.Command
- name() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- name() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- name() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Returns the value of the
namerecord component. - name() - Method in interface studio.mevera.imperat.context.FlagData
-
The main name of the flag
- name() - Method in interface studio.mevera.imperat.context.Source
- nameContains(String) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that matches node names containing a substring.
- Named - Annotation Interface in studio.mevera.imperat.annotations
-
Assigns a logical name to a command element or parameter.
- namedSuggestionResolver(String, SuggestionResolver<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a named suggestion resolver for providing autocomplete suggestions for command arguments or parameters.
- nameMatches(String) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that matches node names against a pattern.
- negate() - Method in interface studio.mevera.imperat.command.tree.help.HelpFilter
-
Creates a filter that inverts this filter's result.
- newCommandParsingVisitor(Imperat<S>, AnnotationParser<S>) - Static method in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- newThrowableParsingVisitor(Imperat<S>, AnnotationParser<S>) - Static method in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- NEXT_HANDLER - Enum constant in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Proceeds to the next handler in the chain
- NEXT_ITERATION - Enum constant in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Continues to the next iteration of the main loop
- nextInput() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Advances the cursor to the next raw input and returns it.
- nextParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Advances the cursor to the next parameter and returns it.
- NodePermissionAssigner<S extends Source> - Interface in studio.mevera.imperat
-
Functional interface responsible for assigning permissions to command parameter nodes.
- NoHelpException - Exception in studio.mevera.imperat.exception
- NoHelpException(Context<?>) - Constructor for exception studio.mevera.imperat.exception.NoHelpException
- NoHelpPageException - Exception in studio.mevera.imperat.exception
- NoHelpPageException(Context<?>) - Constructor for exception studio.mevera.imperat.exception.NoHelpPageException
- none() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that never passes (excludes all nodes).
- NonFlagWhenExpectingFlagHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- NonFlagWhenExpectingFlagHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.NonFlagWhenExpectingFlagHandler
- noPermission() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that only includes nodes without any permission requirement.
- normalizedParameterFormatting(String, boolean) - Static method in class studio.mevera.imperat.util.StringUtils
- NOT_TWO_ELEMENTS - Enum constant in enum class studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException.Reason
- notEmpty(String, String) - Static method in class studio.mevera.imperat.util.Preconditions
- notEmpty(Collection<T>, String) - Static method in class studio.mevera.imperat.util.Preconditions
- notEmpty(T[], String) - Static method in class studio.mevera.imperat.util.Preconditions
- notNull(T, String) - Static method in class studio.mevera.imperat.util.Preconditions
- NumberOutOfRangeException - Exception in studio.mevera.imperat.exception
- NumberOutOfRangeException(String, NumericParameter<?>, Number, NumericRange, Context<?>) - Constructor for exception studio.mevera.imperat.exception.NumberOutOfRangeException
- numeric(Class<N>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- NumericComparator<N extends Number> - Interface in studio.mevera.imperat.command
- NumericParameter<S extends Source> - Interface in studio.mevera.imperat.command.parameters
-
Represents a behavior that deals with numeric inputs if they are ranged from min to max using
NumericRange - NumericParameterDecorator<S extends Source> - Class in studio.mevera.imperat.annotations.parameters
- NumericRange - Class in studio.mevera.imperat.command.parameters
O
- of(double, double) - Static method in class studio.mevera.imperat.command.parameters.NumericRange
- of(String) - Static method in interface studio.mevera.imperat.command.parameters.OptionalValueSupplier
- of(CommandTree<S>) - Static method in class studio.mevera.imperat.command.tree.CommandTreeVisualizer
- of(Class<T>) - Static method in class studio.mevera.imperat.util.TypeWrap
- of(Type) - Static method in class studio.mevera.imperat.util.TypeWrap
- of(String) - Static method in class studio.mevera.imperat.command.Description
- of(String) - Static method in interface studio.mevera.imperat.context.ArgumentInput
- of(String, ParameterType<S, T>, String, Description, boolean, boolean, OptionalValueSupplier, SuggestionResolver<S>) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- of(Supplier<T>) - Static method in interface studio.mevera.imperat.resolvers.ContextResolver
- of(N) - Static method in interface studio.mevera.imperat.command.NumericComparator
- of(ParameterType<S, T>, Set<String>) - Static method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- of(ParameterType<S, T>, Set<String>, boolean) - Static method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- of(CommandNode<S>, CommandPathSearch.Result) - Static method in class studio.mevera.imperat.command.tree.CommandPathSearch
- of(HelpTheme<S, C>, HelpRenderOptions.Layout) - Static method in class studio.mevera.imperat.command.tree.help.HelpRenderOptions
-
Creates a new builder for configuring help rendering options.
- of(ArgumentInput, CommandUsage<S>) - Static method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Creates a new
CommandInputStreaminstance with the specified raw arguments and command usage information. - of(ExecutionContext<S>, CommandPathSearch<S>, Context<S>) - Static method in class studio.mevera.imperat.context.ExecutionResult
-
Creates a successful execution result with the provided context and search results.
- of(Imperat<S>) - Static method in class studio.mevera.imperat.TextSyntaxParser
- of(Imperat<S>, MethodElement, List<CommandParameter<S>>) - Static method in class studio.mevera.imperat.annotations.base.MethodCommandExecutor
- of(T) - Static method in interface studio.mevera.imperat.resolvers.ContextResolver
- ofArray(Type) - Static method in class studio.mevera.imperat.util.TypeWrap
- ofFlag(String, ParameterType<S, T>) - Static method in class studio.mevera.imperat.command.parameters.FlagBuilder
- ofParameterized(Type, List<ParameterType<S, ?>>) - Static method in class studio.mevera.imperat.util.TypeWrap
- ofSingleString(CommandParameter<S>, String) - Static method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Creates a new
CommandInputStreamwith a single string as input. - ofSwitch(String) - Static method in class studio.mevera.imperat.command.parameters.FlagBuilder
- onFailure(AnnotationParser<?>, T) - Method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
- onFailure(AnnotationParser<?>, T) - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.SimpleRule
- OnlyConsoleAllowedException - Exception in studio.mevera.imperat.exception
- OnlyConsoleAllowedException(Context<?>) - Constructor for exception studio.mevera.imperat.exception.OnlyConsoleAllowedException
- OnlyPlayerAllowedException - Exception in studio.mevera.imperat.exception
- OnlyPlayerAllowedException(Context<?>) - Constructor for exception studio.mevera.imperat.exception.OnlyPlayerAllowedException
- optional - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- optional() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter for optional parameters only.
- optional(String, ParameterType<S, T>) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optional(TypeWrap<Optional<T>>, ParameterType<S, T>) - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- Optional - Annotation Interface in studio.mevera.imperat.annotations
-
Marks a parameter or type as optional.
- optionalBoolean(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optionalDouble(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optionalFloat(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optionalGreedy(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optionalInt(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optionalLong(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- OptionalParameterHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- OptionalParameterHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.OptionalParameterHandler
- optionalText(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- optionalValueSupplier - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- OptionalValueSupplier - Interface in studio.mevera.imperat.command.parameters
- or(Rule<T>) - Method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
- or(Rule<T>) - Method in class studio.mevera.imperat.annotations.base.element.selector.Rule.SimpleRule
- or(RuleCondition<E>) - Method in interface studio.mevera.imperat.annotations.base.element.selector.RuleCondition
- or(HelpFilter<S>) - Method in interface studio.mevera.imperat.command.tree.help.HelpFilter
-
Creates a composite filter that passes if either this or another filter passes.
- origin() - Method in interface studio.mevera.imperat.context.Source
- overlapOptionalParameterSuggestions(boolean) - Method in class studio.mevera.imperat.ConfigBuilder
-
Configures whether multiple optional parameters can be suggested simultaneously during tab completion at the same command depth level.
P
- Pair<L,
R> - Record Class in studio.mevera.imperat.util - Pair(L, R) - Constructor for record class studio.mevera.imperat.util.Pair
-
Creates an instance of a
Pairrecord class. - parameter() - Method in record class studio.mevera.imperat.context.internal.Argument
-
Returns the value of the
parameterrecord component. - PARAMETER_ONLY - Enum constant in enum class studio.mevera.imperat.context.internal.ShiftTarget
- ParameterArray<S extends Source,
E> - Class in studio.mevera.imperat.command.parameters.type - ParameterArray(TypeWrap<E[]>, Function<Integer, Object[]>, ParameterType<S, E>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterArray
- ParameterBoolean<S extends Source> - Class in studio.mevera.imperat.command.parameters.type
- ParameterBuilder<S extends Source,
T> - Class in studio.mevera.imperat.command.parameters - parameterBuilders(List<? extends ParameterBuilder<S, ?>>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- ParameterChain<S extends Source> - Class in studio.mevera.imperat.context.internal.sur
- ParameterChain(List<ParameterHandler<S>>) - Constructor for class studio.mevera.imperat.context.internal.sur.ParameterChain
- ParameterCollection<S extends Source,
E, C extends Collection<E>> - Class in studio.mevera.imperat.command.parameters.type - ParameterCollection(TypeWrap<C>, Supplier<C>, ParameterType<S, E>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterCollection
- ParameterCommand<S extends Source> - Class in studio.mevera.imperat.command.parameters.type
- ParameterCompletableFuture<S extends Source,
T> - Class in studio.mevera.imperat.command.parameters.type - ParameterCompletableFuture(TypeWrap<CompletableFuture<T>>, ParameterType<S, T>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterCompletableFuture
- ParameterElement - Class in studio.mevera.imperat.annotations.base.element
- ParameterEnum<S extends Source> - Class in studio.mevera.imperat.command.parameters.type
- ParameterEnum(TypeWrap<Enum<?>>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterEnum
- ParameterFlag<S extends Source> - Class in studio.mevera.imperat.command.parameters.type
- ParameterFlag(FlagData<S>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterFlag
- ParameterHandler<S extends Source> - Interface in studio.mevera.imperat.context.internal.sur.handlers
- ParameterMap<S extends Source,
K, V, M extends Map<K, V>> - Class in studio.mevera.imperat.command.parameters.type - ParameterMap(TypeWrap<M>, Supplier<M>, ParameterType<S, K>, ParameterType<S, V>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterMap
- ParameterNode<S extends Source,
T extends CommandParameter<S>> - Class in studio.mevera.imperat.command.tree - ParameterNode(ParameterNode<S, ?>, T, int, CommandUsage<S>) - Constructor for class studio.mevera.imperat.command.tree.ParameterNode
- ParameterNumber<S extends Source,
N extends Number> - Class in studio.mevera.imperat.command.parameters.type - ParameterNumber() - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterNumber
- ParameterOptional<S extends Source,
T> - Class in studio.mevera.imperat.command.parameters.type - ParameterOptional(TypeWrap<Optional<T>>, ParameterType<S, T>) - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterOptional
- parameters(List<CommandParameter<S>>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- parameters(CommandParameter<S>...) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- parameters(ParameterBuilder<S, ?>...) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- parametersLength() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the total number of command parameters in the stream.
- ParameterString<S extends Source> - Class in studio.mevera.imperat.command.parameters.type
- parameterType(Type, ParameterType<S, T>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a parameter type and its associated resolver for parsing command arguments.
- ParameterType<S extends Source,
T> - Interface in studio.mevera.imperat.command.parameters.type -
Represents a type handler for command parameters, providing methods for type resolution, input matching, and suggestions.
- ParameterTypes - Class in studio.mevera.imperat.command.parameters.type
- ParameterUUID<S extends Source> - Class in studio.mevera.imperat.command.parameters.type
- ParameterUUID() - Constructor for class studio.mevera.imperat.command.parameters.type.ParameterUUID
- ParameterValueAssigner<S extends Source> - Class in studio.mevera.imperat.context.internal.sur
- ParamTypeRegistry<S extends Source> - Class in studio.mevera.imperat.context
- parent - Variable in class studio.mevera.imperat.annotations.base.element.ParseElement
- parent() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- parent() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- parent(Command<S>) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- parent(Command<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- parent(Command<S>) - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Sets parent command for a parameter
- parentCommand - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- parse(String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterNumber
- parse(String) - Static method in interface studio.mevera.imperat.context.ArgumentInput
- parse(String[]) - Static method in interface studio.mevera.imperat.context.ArgumentInput
- parseAutoCompletion(String[], boolean) - Static method in interface studio.mevera.imperat.context.ArgumentInput
- parseAutoCompletion(String, boolean) - Static method in interface studio.mevera.imperat.context.ArgumentInput
- parseCommandClass(T) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Parses annotated command class of valueType AnnotationParser into
Commandthen register it usingImperat - parsed(ImperatConfig<S>, Command<S>) - Static method in interface studio.mevera.imperat.command.tree.CommandTree
- ParseElement<E extends AnnotatedElement> - Class in studio.mevera.imperat.annotations.base.element
- ParseElement(AnnotationParser<S>, ParseElement<?>, E) - Constructor for class studio.mevera.imperat.annotations.base.element.ParseElement
- ParseException - Exception in studio.mevera.imperat.exception
- ParseException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.ParseException
- parser - Variable in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- parser - Variable in class studio.mevera.imperat.annotations.base.element.ParseElement
- parseShortcutSyntax(Command<S>, String) - Method in class studio.mevera.imperat.TextSyntaxParser
-
Parses a shortcut command syntax string into a Command object.
- parseSyntaxToUsage(String) - Method in class studio.mevera.imperat.TextSyntaxParser
-
Parses a command syntax string into a CommandUsage object.
- parseThrowableHandlerClass(T) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Parses annotated throwable handling class into a set of
ThrowableResolverthat are automatically injected into the instance ofImperatthat you're using. - parseToQueue(String, boolean) - Static method in class studio.mevera.imperat.util.StringUtils
- parseToQueue(String, boolean, boolean) - Static method in class studio.mevera.imperat.util.StringUtils
- parseUsage(CommandUsage<S>) - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Parses the given command usage and updates the command tree accordingly.
- Patterns - Class in studio.mevera.imperat.util
- PAUSE - Enum constant in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
-
The tree stopped midway for some reason, most probably would be that the source doesn't have access to a
ParameterNodethat matches his corresponding input. - paused(Command<S>) - Static method in class studio.mevera.imperat.command.tree.CommandPathSearch
- peekLetter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Peeks at the next character without advancing the cursor.
- peekParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Peeks at the next command parameter wrapped in an Optional container.
- peekParameterIfPresent() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Peeks at the next command parameter without advancing the cursor.
- peekRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Peeks at the next raw input string wrapped in an Optional container.
- peekRawIfPresent() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Peeks at the next raw input string without advancing the cursor.
- permission - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- permission - Variable in class studio.mevera.imperat.command.parameters.ParameterBuilder
- permission() - Element in annotation interface studio.mevera.imperat.annotations.Cooldown
- permission() - Method in class studio.mevera.imperat.command.cooldown.UsageCooldown
- permission(String) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- permission(String) - Method in class studio.mevera.imperat.command.Command.Builder
- permission(String) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- Permission - Annotation Interface in studio.mevera.imperat.annotations
-
Declares a permission node required to access a command, subcommand, or parameter.
- permissionAssigner(NodePermissionAssigner<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the permission assigner for automatic permission assignment.
- permissionChecker(PermissionChecker<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets a custom
PermissionCheckerto determine and resolve permissions for the command sender/source within the platform's configuration. - PermissionChecker<S extends Source> - Interface in studio.mevera.imperat.resolvers
-
Represents a functional way of checking for the permissions of the command source/sender.
- PermissionDeniedException - Exception in studio.mevera.imperat.exception
- PermissionDeniedException(CommandUsage<S>, String, CommandParameter<S>, Context<S>) - Constructor for exception studio.mevera.imperat.exception.PermissionDeniedException
- PermissionDeniedException(CommandPathSearch<S>, Context<S>) - Constructor for exception studio.mevera.imperat.exception.PermissionDeniedException
- PermissionHolder - Interface in studio.mevera.imperat.command
-
Represents an entity that can hold a permission.
- permissionLoader(PermissionLoader<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the permission loader for automatic permission assignment.
- PermissionLoader<S extends Source> - Interface in studio.mevera.imperat
-
Represents the class responsible for defining how permissions are loaded/deduced from a
CommandParameter - placeholder(Placeholder<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a placeholder with the configuration.
- Placeholder<S extends Source> - Interface in studio.mevera.imperat.placeholders
- Placeholder.Builder<S extends Source> - Class in studio.mevera.imperat.placeholders
- PlaceholderRegistry<S extends Source> - Class in studio.mevera.imperat.placeholders
- PlaceholderResolver<S extends Source> - Interface in studio.mevera.imperat.placeholders
- plainText(String) - Static method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- popLetter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Removes and returns the current character while advancing the cursor.
- popParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Removes and returns the current command parameter while advancing the cursor.
- popRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Removes and returns the current raw input while advancing the cursor.
- position() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- position() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- position() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the current cursor position within the input stream.
- position(int) - Method in interface studio.mevera.imperat.command.Command
-
Sets the position of this command in a syntax DO NOT USE THIS FOR ANY REASON unless it's necessary to do so
- position(int) - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Sets the position of this parameter in a syntax DO NOT USE THIS FOR ANY REASON unless it's necessary to do so
- position(int) - Method in class studio.mevera.imperat.command.parameters.InputParameter
-
Sets the position of this parameter in a syntax DO NOT USE THIS FOR ANY REASON unless it's necessary to do so
- POST - Enum constant in enum class studio.mevera.imperat.exception.ProcessorException.Type
- postProcess(Imperat<S>, ExecutionContext<S>, CommandUsage<S>) - Method in interface studio.mevera.imperat.command.Command
-
Executes the post-processing instructions in
CommandPostProcessor - postProcessingChain(CommandProcessingChain<S, CommandPostProcessor<S>>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the post-processing chain for the configuration.
- postProcessor(CommandPostProcessor<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- postProcessor(CommandPostProcessor<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Adds a
CommandPostProcessorto the chain of execution that processes the command context after the resolving of arguments into values. - PostProcessor - Annotation Interface in studio.mevera.imperat.annotations
-
Registers one or more
CommandPostProcessorimplementations to run after a command method executes. - postProcessors() - Static method in interface studio.mevera.imperat.command.processors.CommandProcessingChain
- PRE - Enum constant in enum class studio.mevera.imperat.exception.ProcessorException.Type
- Preconditions - Class in studio.mevera.imperat.util
- preProcess(Imperat<S>, Context<S>, CommandUsage<S>) - Method in interface studio.mevera.imperat.command.Command
-
Executes the pre-processing instructions in
CommandPreProcessor - preProcessingChain(CommandProcessingChain<S, CommandPreProcessor<S>>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Configures the pre-processing chain for command processing.
- preProcessor(CommandPreProcessor<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- preProcessor(CommandPreProcessor<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Adds a command pre-processor to the configuration.
- PreProcessor - Annotation Interface in studio.mevera.imperat.annotations
-
Registers one or more
CommandPreProcessorimplementations to run before a command method executes. - preProcessors() - Static method in interface studio.mevera.imperat.command.processors.CommandProcessingChain
- preUsageCooldown() - Static method in class studio.mevera.imperat.command.processors.impl.DefaultProcessors
- prevParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the previous command parameter without moving the cursor.
- prevRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the previous raw input string without moving the cursor.
- primitiveToBoxed(Type) - Static method in class studio.mevera.imperat.util.TypeUtility
- priority() - Method in interface studio.mevera.imperat.command.processors.CommandProcessor
-
Returns the priority of the command processor.
- priority() - Method in class studio.mevera.imperat.command.tree.ArgumentNode
- priority() - Method in class studio.mevera.imperat.command.tree.CommandNode
- priority() - Method in class studio.mevera.imperat.command.tree.ParameterNode
- process(Imperat<S>, Context<S>, CommandUsage<S>) - Method in interface studio.mevera.imperat.command.processors.CommandPreProcessor
-
Processes context BEFORE the resolving operation.
- process(Imperat<S>, Context<S>, CommandUsage<S>) - Method in class studio.mevera.imperat.command.processors.impl.UsageCooldownProcessor
-
Processes context BEFORE the resolving operation.
- process(Imperat<S>, ExecutionContext<S>) - Method in interface studio.mevera.imperat.command.processors.CommandPostProcessor
-
Processes context AFTER the resolving operation.
- ProcessorException - Exception in studio.mevera.imperat.exception
- ProcessorException(ProcessorException.Type, Command<?>, Throwable, Context<?>) - Constructor for exception studio.mevera.imperat.exception.ProcessorException
- ProcessorException.Type - Enum Class in studio.mevera.imperat.exception
- ProcessorRegistrar<S extends Source> - Interface in studio.mevera.imperat
-
Represents a registrar that allows the configuration and management of pre-processing and post-processing chains of command processors for a given source type.
- proxyClass() - Method in class studio.mevera.imperat.annotations.base.element.RootCommandClass
- proxyInstance() - Method in class studio.mevera.imperat.annotations.base.element.RootCommandClass
Q
- queryHelp(HelpQuery<S>) - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Queries the help system to retrieve a set of help entries that match the specified criteria.
R
- Range - Annotation Interface in studio.mevera.imperat.annotations
-
Constrains a numeric parameter or type to a minimum/maximum value.
- raw() - Method in record class studio.mevera.imperat.context.internal.Argument
-
Returns the value of the
rawrecord component. - RAW_ONLY - Enum constant in enum class studio.mevera.imperat.context.internal.ShiftTarget
- rawsLength() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Retrieves the total number of raw input strings in the stream.
- read(Imperat<S>, ElementSelector<MethodElement>, AnnotationParser<S>, Object) - Static method in interface studio.mevera.imperat.annotations.base.AnnotationReader
- readInput() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Reads and returns the current raw input without advancing the cursor.
- Reflections - Class in studio.mevera.imperat.util.reflection
- Reflections() - Constructor for class studio.mevera.imperat.util.reflection.Reflections
- registerAnnotationReplacer(Class<A>, AnnotationReplacer<A>) - Method in interface studio.mevera.imperat.AnnotationInjector
-
Registers annotation replacer
- registerAnnotationReplacer(Class<A>, AnnotationReplacer<A>) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Registers
AnnotationReplacer - registerAnnotationReplacer(Class<A>, AnnotationReplacer<A>) - Method in class studio.mevera.imperat.BaseImperat
-
Registers
AnnotationReplacer - registerAnnotationReplacer(Class<A>, AnnotationReplacer<A>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Registers annotation replacer
- registerAnnotations(Class<? extends Annotation>...) - Method in interface studio.mevera.imperat.AnnotationInjector
-
Registers a valueType of annotations so that it can be detected by
AnnotationReader, it's useful as it allows that valueType of annotation to be recognized as a true Imperat-related annotation to be used in something like checking if aCommandParameteris annotated and checks for the annotations it has. - registerAnnotations(Class<? extends Annotation>...) - Method in class studio.mevera.imperat.annotations.base.AnnotationParser
-
Registers a valueType of annotations so that it can be detected by
AnnotationReader, it's useful as it allows that valueType of annotation to be recognized as a true Imperat-related annotation to be used in something like checking if aCommandParameteris annotated and checks for the annotations it has. - registerAnnotations(Class<? extends Annotation>...) - Method in class studio.mevera.imperat.BaseImperat
-
Registers a valueType of annotations so that it can be detected by
AnnotationReader, it's useful as it allows that valueType of annotation to be recognized as a true Imperat-related annotation to be used in something like checking if aCommandParameteris annotated and checks for the annotations it has. - registerArrayInitializer(Class<ArrayComponent>, Function<Integer, Object[]>) - Method in class studio.mevera.imperat.context.ParamTypeRegistry
- registerCollectionInitializer(Class<C>, Supplier<C>) - Method in class studio.mevera.imperat.context.ParamTypeRegistry
- registerCollectionInitializer(Class<C>, Supplier<C>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers a supplier function that provides new instances of a specific Collection type.
- registerCommand(Class<?>) - Method in class studio.mevera.imperat.BaseImperat
-
Registers a command class built by the annotations using a parser
- registerCommand(Class<?>) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Registers a command class built by the annotations using a parser
- registerCommand(Object) - Method in class studio.mevera.imperat.BaseImperat
- registerCommand(Object) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Registers a command instance built by the annotations using a parser
- registerCommand(Command<S>) - Method in class studio.mevera.imperat.BaseImperat
-
Registering a command into the dispatcher
- registerCommand(Command<S>) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Registers a command into the dispatcher
- registerCommands(Class<?>...) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Registers some commands into the dispatcher annotations using a parser
- registerCommands(Object...) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Registers some command instances built by the annotations using a parser
- registerCommands(Command<S>...) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Registers some commands into the dispatcher
- registerContextResolver(Type, ContextResolver<S, T>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers
ContextResolver - registerContextResolverFactory(Type, ContextResolverFactory<S, T>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers a context resolver factory
- registerDependencyResolver(Type, DependencySupplier) - Method in interface studio.mevera.imperat.ImperatConfig
-
Registers the dependency to the type
- registerEnumResolver(Type) - Method in class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry.EnumSuggestionResolver
- registerExecutionMoment(S) - Method in interface studio.mevera.imperat.command.cooldown.CooldownHandler
-
Sets the last time of execution to this current moment using
System.currentTimeMillis() - registerFactory(Type, ContextResolverFactory<S, T>) - Method in class studio.mevera.imperat.command.ContextResolverRegistry
- registerFlag(FlagData<S>) - Method in interface studio.mevera.imperat.FlagRegistrar
-
Registers a new free flag in the system.
- registerFlags(Set<FlagData<S>>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- registerMapInitializer(Class<M>, Supplier<M>) - Method in class studio.mevera.imperat.context.ParamTypeRegistry
- registerMapInitializer(Class<M>, Supplier<M>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers a supplier function that provides new instances of a specific Map type.
- registerNamedResolver(String, SuggestionResolver<S>) - Method in class studio.mevera.imperat.command.suggestions.SuggestionResolverRegistry
- registerNamedSuggestionResolver(String, SuggestionResolver<S>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers a suggestion resolver
- registerParamType(Type, ParameterType<S, T>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers
ParameterType - registerPlaceholder(Placeholder<S>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers a placeholder
- registerResolver(Type, Supplier<ParameterType>) - Method in class studio.mevera.imperat.context.ParamTypeRegistry
- registerResolver(Type, ContextResolver<S, T>) - Method in class studio.mevera.imperat.command.ContextResolverRegistry
- registerReturnResolver(Type, ReturnResolver<S, T>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers the
ReturnResolverinto an internal registry - registerReturnResolver(TypeWrap<T>, ReturnResolver<S, T>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers the
ReturnResolverinto an internal registry - registerSourceResolver(Type, SourceResolver<S, R>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers the
SourceResolverinto an internal registry - registerSourceResolver(TypeWrap<R>, SourceResolver<S, R>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Registers the
SourceResolverinto an internal registry - registerSubCommand(Command<S>) - Method in interface studio.mevera.imperat.command.Command
- registerThrowableHandler(Object) - Method in interface studio.mevera.imperat.AnnotationInjector
-
Parses the instance's class that contains
ExceptionHandlerannotation into multiple throwable resolvers to be registered and injected intoImperat - Registry<K,
V> - Class in studio.mevera.imperat.util - Registry() - Constructor for class studio.mevera.imperat.util.Registry
- Registry(Supplier<Map<K, V>>) - Constructor for class studio.mevera.imperat.util.Registry
- Registry(K, V, Supplier<Map<K, V>>) - Constructor for class studio.mevera.imperat.util.Registry
- remove(int) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Removes an entry by index.
- remove(HelpEntry<S>) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Removes a specific entry.
- removeCooldown(S) - Method in interface studio.mevera.imperat.command.cooldown.CooldownHandler
-
Unregisters the user's cached cooldown when it's expired!
- removeData(K) - Method in class studio.mevera.imperat.util.Registry
- removeRule(Rule<E>) - Method in interface studio.mevera.imperat.annotations.base.element.selector.ElementSelector
- removeSupportedType(ParameterType<S, ?>) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- render(ExecutionContext<S>, HelpEntryList<S>, HelpTheme<S, C>) - Method in interface studio.mevera.imperat.command.tree.help.renderers.HelpLayoutRenderer
-
Renders the help documentation to the source.
- render(ExecutionContext<S>, HelpEntryList<S>, HelpTheme<S, C>) - Method in class studio.mevera.imperat.command.tree.help.renderers.StandardHelpRenderer
- repeat(int) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- repeat(int) - Method in class studio.mevera.imperat.command.tree.help.theme.StringHelpComponent
- replace(ParseElement<?>, A) - Method in interface studio.mevera.imperat.annotations.base.AnnotationReplacer
-
The annotation to replace
- replacePlaceholders(String) - Method in interface studio.mevera.imperat.ImperatConfig
-
Replaces the placeholders of input by their
PlaceholderResolver - replacePlaceholders(String[]) - Method in interface studio.mevera.imperat.ImperatConfig
-
Replaces the placeholders on each string of the array, modifying the input array content.
- replaceResolved(ImperatConfig<S>, String, String) - Method in interface studio.mevera.imperat.placeholders.Placeholder
- reply(String) - Method in interface studio.mevera.imperat.context.Source
-
Replies to the command sender with a string message
- REPLY - Enum constant in enum class studio.mevera.imperat.exception.SourceException.ErrorLevel
- required() - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter for required parameters only.
- required(String, ParameterType<S, T>) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiredBoolean(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiredDouble(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiredFloat(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiredGreedy(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiredInt(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiredLong(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- RequiredParameterHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- RequiredParameterHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.RequiredParameterHandler
- requiredText(String) - Static method in interface studio.mevera.imperat.command.parameters.CommandParameter
- requiresParameterInheritance() - Method in enum class studio.mevera.imperat.command.AttachmentMode
- reset() - Method in interface studio.mevera.imperat.command.processors.CommandProcessingChain
- resolve() - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Resolves all arguments and flags from the raw context input.
- resolve() - Method in class studio.mevera.imperat.context.internal.sur.ParameterValueAssigner
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterArray
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterBoolean
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCollection
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCommand
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterCompletableFuture
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterEnum
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterFlag
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterMap
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterNumber
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterOptional
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterString
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Resolves the parameter value from the given input string, using the provided execution context and input stream.
- resolve(ExecutionContext<S>, CommandInputStream<S>, String) - Method in class studio.mevera.imperat.command.parameters.type.ParameterUUID
- resolve(ExecutionContext<S>, ParameterElement) - Method in interface studio.mevera.imperat.resolvers.ContextResolver
-
Resolves a parameter's default value if it has been not input by the user
- resolve(E, Context<S>) - Method in class studio.mevera.imperat.annotations.base.element.MethodThrowableResolver
- resolve(E, Context<S>) - Method in interface studio.mevera.imperat.exception.ThrowableResolver
-
Resolves the given exception within the provided execution context.
- resolve(String, ImperatConfig<S>) - Method in interface studio.mevera.imperat.placeholders.PlaceholderResolver
-
Resolves a placeholder
- resolve(S, Context<S>) - Method in interface studio.mevera.imperat.resolvers.SourceResolver
-
Resolves
SourceResolverintoSourceResolver - resolveArgument(Command<S>, String, int, CommandParameter<S>, T) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Resolves and registers a command argument.
- resolveArgument(CommandInputStream<S>, T) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Resolves and registers a command argument.
- resolvedArray(String[]) - Method in class studio.mevera.imperat.placeholders.PlaceholderRegistry
- resolveDependency(Type) - Method in interface studio.mevera.imperat.ImperatConfig
-
Resolves dependency of certain type
- resolvedString(String) - Method in class studio.mevera.imperat.placeholders.PlaceholderRegistry
- resolveFlag(FlagData<S>, String, String, Object) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Resolves a command flag from its raw components.
- resolveFlag(ExtractedInputFlag) - Method in interface studio.mevera.imperat.context.ExecutionContext
-
Registers a resolved flag in the context.
- resolveFreeFlag(ExecutionContext<S>, CommandInputStream<S>, FlagData<S>) - Method in class studio.mevera.imperat.command.parameters.type.ParameterFlag
- resolveInput(String, ImperatConfig<S>) - Method in interface studio.mevera.imperat.placeholders.Placeholder
- resolver() - Method in interface studio.mevera.imperat.placeholders.Placeholder
-
The dynamic resolver for this placeholder
- resolver(PlaceholderResolver<S>) - Method in class studio.mevera.imperat.placeholders.Placeholder.Builder
- ResolverRegistrar<S extends Source> - Interface in studio.mevera.imperat
-
The ResolverRegistrar interface provides mechanisms for registering and retrieving various types of resolvers, factories, and initializers that are contextually linked to specific source types and value types.
- returnResolver(Type, ReturnResolver<S, ?>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a
ReturnResolver - ReturnResolver<S extends Source,
T> - Interface in studio.mevera.imperat.command.returns -
An interface that represents a way to handle a returned value from a method that does is NOT void.
- ReturnResolverRegistry<S extends Source> - Class in studio.mevera.imperat.command
- ReturnResolverRegistry() - Constructor for class studio.mevera.imperat.command.ReturnResolverRegistry
- right() - Method in record class studio.mevera.imperat.util.Pair
-
Returns the value of the
rightrecord component. - root() - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Gets the root command of this command tree.
- RootCommandClass<S extends Source> - Class in studio.mevera.imperat.annotations.base.element
-
Represents a root command class information
- RootCommandClass(Class<?>, Object) - Constructor for class studio.mevera.imperat.annotations.base.element.RootCommandClass
- rootNode() - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Gets the root node of this command tree.
- Rule<T> - Interface in studio.mevera.imperat.annotations.base.element.selector
- Rule.Builder<T> - Class in studio.mevera.imperat.annotations.base.element.selector
- Rule.SimpleRule<T> - Class in studio.mevera.imperat.annotations.base.element.selector
- RuleCondition<E> - Interface in studio.mevera.imperat.annotations.base.element.selector
- run() - Method in interface studio.mevera.imperat.command.CommandCoordinator.UnsafeRunnable
- runUnsafe() - Method in interface studio.mevera.imperat.command.CommandCoordinator.UnsafeRunnable
S
- search(BiPredicate<K, V>) - Method in class studio.mevera.imperat.util.Registry
- SelfHandledException - Exception in studio.mevera.imperat.exception
- SelfHandledException(Context<?>) - Constructor for exception studio.mevera.imperat.exception.SelfHandledException
- send(S) - Method in class studio.mevera.imperat.command.tree.help.theme.HelpComponent
- send(S) - Method in class studio.mevera.imperat.command.tree.help.theme.StringHelpComponent
- set(Annotation) - Method in class studio.mevera.imperat.util.AnnotationMap
- set(Object, Object) - Method in interface studio.mevera.imperat.util.reflection.FieldAccessor
-
Set the content of a field.
- setAllowVariants(boolean) - Method in class studio.mevera.imperat.command.parameters.type.ParameterBoolean
- setAnnotationParser(AnnotationParser<S>) - Method in interface studio.mevera.imperat.AnnotationInjector
-
Changes the instance of
AnnotationParser - setAnnotationParser(AnnotationParser<S>) - Method in class studio.mevera.imperat.BaseImperat
-
Changes the instance of
AnnotationParser - setAutoPermissionAssignMode(boolean) - Method in interface studio.mevera.imperat.ImperatConfig
-
Toggles the auto permission assign mode.
- setCommandPrefix(String) - Method in interface studio.mevera.imperat.ImperatConfig
- setContextFactory(ContextFactory<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
sets the context factory
ContextFactoryfor the contexts - setCooldown(long, TimeUnit) - Method in interface studio.mevera.imperat.command.CooldownHolder
- setCooldown(long, TimeUnit, String) - Method in interface studio.mevera.imperat.command.CooldownHolder
- setCooldown(UsageCooldown) - Method in interface studio.mevera.imperat.command.CooldownHolder
- setCooldownHandler(CooldownHandler<S>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Sets the cooldown handler
CooldownHandler - setCoordinator(CommandCoordinator<S>) - Method in interface studio.mevera.imperat.command.CommandUsage
-
Sets the command coordinator
- setData(K, V) - Method in class studio.mevera.imperat.util.Registry
- setDefaultAttachmentMode(AttachmentMode) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the default
AttachmentMode - setDefaultSuggestionResolver(SuggestionResolver<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the default suggestion resolver to be used when no specific resolver is defined for a parameter or command context.
- setDefaultSuggestionResolver(SuggestionResolver<S>) - Method in interface studio.mevera.imperat.ResolverRegistrar
-
Sets the default suggestion resolver to be used when no specific suggestion resolver is provided.
- setDefaultUsage(CommandUsage<S>) - Method in interface studio.mevera.imperat.command.Command
-
Sets the default command usage representation.
- setDirectUsage(CommandUsage<S>) - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- setEnabled(boolean) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- setExecutableUsage(CommandUsage<S>) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- setFormat(String) - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Sets a custom format for this parameter the default value is the name of the parameter
- setFormat(String) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- setFree(boolean) - Method in class studio.mevera.imperat.command.parameters.FlagBuilder
- setGlobalDefaultUsage(CommandUsage.Builder<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the usual default usage if the user doesn't set the default-usage for a
Command - setHandleExecutionConsecutiveOptionalArgumentsSkip(boolean) - Method in interface studio.mevera.imperat.ImperatConfig
-
Refer to
ImperatConfig.handleExecutionMiddleOptionalSkipping()to know about this option. - setHelpCoordinator(HelpCoordinator<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the coordinator for displaying of a help.
- setInstanceFactory(InstanceFactory<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the instance factory for creating instances of types to be dependency injected.
- setLogger(Logger) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- setMetaPropertiesFromOtherCommand(Command<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- setNodePermissionAssigner(NodePermissionAssigner<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the permission assigner for
CommandParameteron every command. - setOptionalParameterSuggestionOverlap(boolean) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets whether multiple optional parameters can be suggested simultaneously during tab completion at the same command depth level.
- setOptionValue(HelpTheme.Option<T>, T) - Method in class studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme
- setOptionValue(HelpTheme.Option<T>, T) - Method in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
- setPermission(String) - Method in class studio.mevera.imperat.command.tree.ParameterNode
- setPermissionLoader(PermissionLoader<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the permission assigner for every parameter
- setPermissionResolver(PermissionChecker<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the permission resolver for the platform
- setPostProcessingChain(CommandProcessingChain<S, CommandPostProcessor<S>>) - Method in interface studio.mevera.imperat.command.Command
- setPostProcessorsChain(CommandProcessingChain<S, CommandPostProcessor<S>>) - Method in interface studio.mevera.imperat.ProcessorRegistrar
-
Sets the whole post-processing chain
- setPreProcessingChain(CommandProcessingChain<S, CommandPreProcessor<S>>) - Method in interface studio.mevera.imperat.command.Command
- setPreProcessorsChain(CommandProcessingChain<S, CommandPreProcessor<S>>) - Method in interface studio.mevera.imperat.ProcessorRegistrar
-
Sets the whole pre-processing chain
- setPropertiesFromCommandMainUsage(Command<S>) - Method in class studio.mevera.imperat.command.CommandUsage.Builder
- setResult(CommandPathSearch.Result) - Method in class studio.mevera.imperat.command.tree.CommandPathSearch
- setRootCommand(Command<S>) - Method in class studio.mevera.imperat.annotations.base.element.RootCommandClass
- setSinglePermission(String) - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- setSinglePermission(String) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- setTesting(boolean) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- setThrowableResolver(Class<T>, ThrowableResolver<T, S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Registers a new
ThrowableResolverfor the specified valueType of throwable. - setThrowableResolver(Class<T>, ThrowableResolver<T, S>) - Method in interface studio.mevera.imperat.ThrowableHandler
-
Registers a
ThrowableResolverfor a specific exception type and returns the registered resolver instance. - setUsageVerifier(UsageVerifier<S>) - Method in interface studio.mevera.imperat.ImperatConfig
-
Sets the usage verifier to a new instance
- setUsingTestCases(boolean) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- SEVERE - Enum constant in enum class studio.mevera.imperat.exception.SourceException.ErrorLevel
- ShiftTarget - Enum Class in studio.mevera.imperat.context.internal
- ShortHandFlagException - Exception in studio.mevera.imperat.exception
- ShortHandFlagException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.ShortHandFlagException
- SHOW_FOOTER - Static variable in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme.Option
- SHOW_HEADER - Static variable in interface studio.mevera.imperat.command.tree.help.theme.HelpTheme.Option
- showHelp(ExecutionContext<S>, HelpQuery<S>, HelpTheme<S, C>) - Method in class studio.mevera.imperat.command.tree.help.HelpCoordinator
-
Displays the help documentation based on the given context and query.
- shutdownPlatform() - Method in interface studio.mevera.imperat.Imperat
-
Shuts down the platform
- similarTo(CommandParameter<?>) - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Checks if this parameter has same name and valueType to the other
CommandParameterunlike `CommandParameter#equals(Object)`, if both parameters are only different in their parentCommand, it would still return true - similarTo(CommandParameter<?>) - Method in class studio.mevera.imperat.command.parameters.InputParameter
- SimpleRule(RuleCondition<T>, BiConsumer<AnnotationParser<?>, T>) - Constructor for class studio.mevera.imperat.annotations.base.element.selector.Rule.SimpleRule
- simpleVerifier() - Static method in interface studio.mevera.imperat.verification.UsageVerifier
- SINGLE_FLAG - Static variable in class studio.mevera.imperat.util.Patterns
- SINGLE_QUOTE - Static variable in class studio.mevera.imperat.util.StringUtils
- size() - Method in class studio.mevera.imperat.annotations.base.element.MethodElement
- size() - Method in interface studio.mevera.imperat.command.CommandUsage
- size() - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
The number of nodes cached in this
CommandTree. - size() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Returns the number of entries.
- size() - Method in class studio.mevera.imperat.util.Registry
- skip() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Skips the current input element and advances the appropriate cursor.
- skipLetter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Skips the current character and advances the character cursor.
- skipParameter() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Skips the current command parameter and advances the parameter cursor.
- skipRaw() - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Skips the current raw input and advances the raw input cursor.
- skipSuggestionsChecks() - Element in annotation interface studio.mevera.imperat.annotations.Command
- skipSuggestionsChecks() - Element in annotation interface studio.mevera.imperat.annotations.SubCommand
- skipTill(char) - Method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Advances the character cursor until the specified target character is encountered.
- SNOWFLAKE - Static variable in class studio.mevera.imperat.util.StringUtils
-
Pattern to extract snowflake IDs.
- source() - Method in interface studio.mevera.imperat.context.Context
- Source - Interface in studio.mevera.imperat.context
-
Represents the sender/source of a command being executed may be a console, a player in a game, etc...
- SourceException - Exception in studio.mevera.imperat.exception
- SourceException(Context<?>, String, Object...) - Constructor for exception studio.mevera.imperat.exception.SourceException
- SourceException(Context<?>, SourceException.ErrorLevel, String, Object...) - Constructor for exception studio.mevera.imperat.exception.SourceException
- SourceException.ErrorLevel - Enum Class in studio.mevera.imperat.exception
- SourceOrderHelper - Class in studio.mevera.imperat.annotations.base
- sourceResolver(Type, SourceResolver<S, R>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a
SourceResolverfor a specific type to resolve command sources. - SourceResolver<S extends Source,
R> - Interface in studio.mevera.imperat.resolvers -
An interface whose single responsibility is to resolve
SourceResolverintoSourceResolverto allow custom command sources - SourceResolverRegistry<S extends Source> - Class in studio.mevera.imperat.command
- SourceWrapper<S extends Source> - Interface in studio.mevera.imperat
-
A sealed interface representing the abstraction for wrapping and handling sources or senders of commands, and validating the compatibility of a type as a sender.
- StandardHelpRenderer<S extends Source,
C> - Class in studio.mevera.imperat.command.tree.help.renderers -
Standard help renderer that supports both tree and flat presentation styles.
- StandardHelpRenderer() - Constructor for class studio.mevera.imperat.command.tree.help.renderers.StandardHelpRenderer
- StandardTreeHelpVisitor<S extends Source> - Class in studio.mevera.imperat.command.tree.help
-
Standard help provider that queries the command tree.
- StandardTreeHelpVisitor() - Constructor for class studio.mevera.imperat.command.tree.help.StandardTreeHelpVisitor
- staticSuggestions(String...) - Static method in interface studio.mevera.imperat.resolvers.SuggestionResolver
- staticSuggestions(List<String>) - Static method in interface studio.mevera.imperat.resolvers.SuggestionResolver
- StreamPosition<S extends Source> - Class in studio.mevera.imperat.context.internal
- StrictParameterList<S extends Source> - Class in studio.mevera.imperat.command.parameters
- StrictParameterList() - Constructor for class studio.mevera.imperat.command.parameters.StrictParameterList
- string() - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- StringHelpComponent<S extends Source> - Class in studio.mevera.imperat.command.tree.help.theme
- StringHelpComponent(String) - Constructor for class studio.mevera.imperat.command.tree.help.theme.StringHelpComponent
- StringUtils - Class in studio.mevera.imperat.util
- stripNamespace(String) - Static method in class studio.mevera.imperat.util.StringUtils
- studio.mevera.imperat - package studio.mevera.imperat
- studio.mevera.imperat.annotations - package studio.mevera.imperat.annotations
- studio.mevera.imperat.annotations.base - package studio.mevera.imperat.annotations.base
- studio.mevera.imperat.annotations.base.element - package studio.mevera.imperat.annotations.base.element
- studio.mevera.imperat.annotations.base.element.selector - package studio.mevera.imperat.annotations.base.element.selector
- studio.mevera.imperat.annotations.parameters - package studio.mevera.imperat.annotations.parameters
- studio.mevera.imperat.command - package studio.mevera.imperat.command
- studio.mevera.imperat.command.cooldown - package studio.mevera.imperat.command.cooldown
- studio.mevera.imperat.command.flags - package studio.mevera.imperat.command.flags
- studio.mevera.imperat.command.parameters - package studio.mevera.imperat.command.parameters
- studio.mevera.imperat.command.parameters.type - package studio.mevera.imperat.command.parameters.type
- studio.mevera.imperat.command.processors - package studio.mevera.imperat.command.processors
- studio.mevera.imperat.command.processors.impl - package studio.mevera.imperat.command.processors.impl
- studio.mevera.imperat.command.returns - package studio.mevera.imperat.command.returns
- studio.mevera.imperat.command.suggestions - package studio.mevera.imperat.command.suggestions
- studio.mevera.imperat.command.tree - package studio.mevera.imperat.command.tree
- studio.mevera.imperat.command.tree.help - package studio.mevera.imperat.command.tree.help
- studio.mevera.imperat.command.tree.help.renderers - package studio.mevera.imperat.command.tree.help.renderers
- studio.mevera.imperat.command.tree.help.theme - package studio.mevera.imperat.command.tree.help.theme
- studio.mevera.imperat.context - package studio.mevera.imperat.context
- studio.mevera.imperat.context.internal - package studio.mevera.imperat.context.internal
- studio.mevera.imperat.context.internal.sur - package studio.mevera.imperat.context.internal.sur
- studio.mevera.imperat.context.internal.sur.handlers - package studio.mevera.imperat.context.internal.sur.handlers
- studio.mevera.imperat.exception - package studio.mevera.imperat.exception
- studio.mevera.imperat.exception.parse - package studio.mevera.imperat.exception.parse
- studio.mevera.imperat.placeholders - package studio.mevera.imperat.placeholders
- studio.mevera.imperat.resolvers - package studio.mevera.imperat.resolvers
- studio.mevera.imperat.util - package studio.mevera.imperat.util
- studio.mevera.imperat.util.asm - package studio.mevera.imperat.util.asm
- studio.mevera.imperat.util.reflection - package studio.mevera.imperat.util.reflection
- studio.mevera.imperat.verification - package studio.mevera.imperat.verification
- subCommand(String, CommandUsage.Builder<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- subCommand(String, CommandUsage.Builder<S>, AttachmentMode) - Method in class studio.mevera.imperat.command.Command.Builder
- subCommand(Command<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- subCommand(Command<S>, AttachmentMode) - Method in class studio.mevera.imperat.command.Command.Builder
- SubCommand - Annotation Interface in studio.mevera.imperat.annotations
-
Declares a subcommand on a type or method, with optional attachment mode and suggestion-permission behavior.
- SubCommandHandler<S extends Source> - Class in studio.mevera.imperat.context.internal.sur.handlers
- SubCommandHandler() - Constructor for class studio.mevera.imperat.context.internal.sur.handlers.SubCommandHandler
- subList(int, int) - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Creates a copy of a range of elements.
- subStream(CommandInputStream<S>, String) - Static method in interface studio.mevera.imperat.context.internal.CommandInputStream
-
Creates a substream of the specified parent stream with new input content.
- suggest(String...) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- suggest(SuggestionResolver<S>) - Method in class studio.mevera.imperat.command.parameters.ParameterBuilder
- Suggest - Annotation Interface in studio.mevera.imperat.annotations
-
Provides a fixed set of inline suggestions for a parameter during tab-completion.
- suggestForInputValue(SuggestionResolver<S>) - Method in class studio.mevera.imperat.command.parameters.FlagBuilder
- SuggestionContext<S extends Source> - Interface in studio.mevera.imperat.context
-
Represents the context for auto-completion while providing suggestions
- SuggestionProvider - Annotation Interface in studio.mevera.imperat.annotations
-
Binds a parameter's suggestions to a named provider registered in the system.
- suggestionResolver - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- SuggestionResolver<S extends Source> - Interface in studio.mevera.imperat.resolvers
-
Represents a suggestion providing interface for an argument/parameter
- SuggestionResolverRegistry<S extends Source> - Class in studio.mevera.imperat.command.suggestions
- SuggestionResolverRegistry.EnumSuggestionResolver - Class in studio.mevera.imperat.command.suggestions
- suggestions - Variable in class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
A list storing suggestions for parameter types in a command processing framework.
- supply(ExecutionContext<S>, CommandParameter<S>) - Method in interface studio.mevera.imperat.command.parameters.OptionalValueSupplier
-
Supplies a default-value for optional usage parameters
CommandParameter - supplyDefaultValue() - Method in class studio.mevera.imperat.command.parameters.type.ParameterCompletableFuture
- supplyDefaultValue() - Method in class studio.mevera.imperat.command.parameters.type.ParameterOptional
- supplyDefaultValue() - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Returns the default value supplier for the given source and command parameter.
- Switch - Annotation Interface in studio.mevera.imperat.annotations
-
Declares one or more switch names for a boolean-like parameter.
- sync() - Static method in interface studio.mevera.imperat.command.CommandCoordinator
T
- tabComplete(SuggestionContext<S>) - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Generates tab-completion suggestions based on the current command context.
- TERMINATE - Enum constant in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Terminates the handler chain execution
- test(Imperat, AnnotationParser<?>, E) - Method in interface studio.mevera.imperat.annotations.base.element.selector.RuleCondition
- test(Imperat, AnnotationParser<?>, T) - Method in interface studio.mevera.imperat.annotations.base.element.selector.Rule
- TextHelpTheme<S extends Source> - Class in studio.mevera.imperat.command.tree.help.theme
- TextHelpTheme(HelpTheme.PresentationStyle, int) - Constructor for class studio.mevera.imperat.command.tree.help.theme.TextHelpTheme
- TextSyntaxParser<S extends Source> - Class in studio.mevera.imperat
- then(P) - Method in class studio.mevera.imperat.command.processors.CommandProcessingChain.Builder
- ThrowableHandler<S extends Source> - Interface in studio.mevera.imperat
-
The
ThrowableHandlerinterface defines a mechanism for managing and resolving throwable instances within a given context. - throwableResolver(Class<T>, ThrowableResolver<T, S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Registers a throwable resolver for a specific exception type.
- ThrowableResolver<E extends Throwable,
S extends Source> - Interface in studio.mevera.imperat.exception -
A functional interface for handling and resolving exceptions that occur during Imperat's command execution flow.
- toArray() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Converts to an array.
- toDuration() - Method in class studio.mevera.imperat.command.cooldown.UsageCooldown
- toSet() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Converts to a Java Set (LinkedHashSet).
- toString() - Method in class studio.mevera.imperat.annotations.base.element.ParameterElement
- toString() - Method in class studio.mevera.imperat.annotations.base.element.ParseElement
- toString() - Method in class studio.mevera.imperat.command.Description
- toString() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- toString() - Method in class studio.mevera.imperat.command.returns.BaseReturnResolver
- toString() - Method in record class studio.mevera.imperat.command.suggestions.CompletionArg
-
Returns a string representation of this record class.
- toString() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
- toString() - Method in record class studio.mevera.imperat.context.FlagData.FlagDataImpl
-
Returns a string representation of this record class.
- toString() - Method in record class studio.mevera.imperat.context.internal.Argument
-
Returns a string representation of this record class.
- toString() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Returns a string representation of this record class.
- toString() - Method in record class studio.mevera.imperat.util.Pair
-
Returns a string representation of this record class.
- tree() - Method in interface studio.mevera.imperat.command.Command
- TREE - Enum constant in enum class studio.mevera.imperat.command.tree.help.HelpRenderOptions.Layout
-
A tree structure view that shows command nesting and hierarchy.
- TREE - Enum constant in enum class studio.mevera.imperat.command.tree.help.theme.HelpTheme.PresentationStyle
-
Tree structure view that shows command nesting and hierarchy.
- TreeHelpVisitor<S extends Source> - Interface in studio.mevera.imperat.command.tree.help
-
Provides help data by visiting the command tree, node by node.
- trimToSize() - Method in class studio.mevera.imperat.command.tree.help.HelpEntryList
-
Trims the internal capacity to the current size.
- type - Variable in class studio.mevera.imperat.command.parameters.InputParameter
- type - Variable in class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Encapsulates type information for the parameter being handled.
- type() - Method in interface studio.mevera.imperat.command.Command
-
Retrieves the parameter type associated with the current command, including its name and any aliases.
- type() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
-
Retrieves the parameter type associated with this command parameter.
- type() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- type() - Method in class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Retrieves the Type associated with this BaseParameterType.
- type() - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Gets the Java
Typethis parameter type handles. - TypeCapturer - Class in studio.mevera.imperat.util
- TypeCapturer() - Constructor for class studio.mevera.imperat.util.TypeCapturer
- typeTolerantVerifier() - Static method in interface studio.mevera.imperat.verification.UsageVerifier
- TypeUtility - Class in studio.mevera.imperat.util
- TypeWrap<T> - Class in studio.mevera.imperat.util
- TypeWrap() - Constructor for class studio.mevera.imperat.util.TypeWrap
U
- uniqueSize() - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
The size of the unique versioned tree
- uniqueVersionedTree() - Method in interface studio.mevera.imperat.command.tree.CommandTree
-
Gets the unique versioned tree.
- unit() - Element in annotation interface studio.mevera.imperat.annotations.Cooldown
- unit() - Method in class studio.mevera.imperat.command.cooldown.UsageCooldown
- unknown(CommandNode<S>) - Static method in class studio.mevera.imperat.command.tree.CommandPathSearch
- UNKNOWN - Enum constant in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
-
Defines an unknown execution/command, it's the default setResult
- UnknownDependencyException - Exception in studio.mevera.imperat.exception
- UnknownDependencyException(String) - Constructor for exception studio.mevera.imperat.exception.UnknownDependencyException
- UnknownDependencyException(String, Throwable) - Constructor for exception studio.mevera.imperat.exception.UnknownDependencyException
- UnknownFlagException - Exception in studio.mevera.imperat.exception
- UnknownFlagException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.UnknownFlagException
- UnknownServerException - Exception in studio.mevera.imperat.exception
- UnknownServerException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.UnknownServerException
- UnknownSubCommandException - Exception in studio.mevera.imperat.exception.parse
- UnknownSubCommandException(String, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.UnknownSubCommandException
- unregisterAllCommands() - Method in class studio.mevera.imperat.BaseImperat
-
Unregisters all commands from the internal registry
- unregisterAllCommands() - Method in interface studio.mevera.imperat.CommandRegistrar
-
Unregisters all commands from the internal registry
- unregisterCommand(String) - Method in class studio.mevera.imperat.BaseImperat
-
Unregisters a command from the internal registry
- unregisterCommand(String) - Method in interface studio.mevera.imperat.CommandRegistrar
-
Unregisters a command from the internal registry
- UNSET - Enum constant in enum class studio.mevera.imperat.command.AttachmentMode
-
Behaves exactly like
AttachmentMode.MAIN, It's used internally to know when to prefer the global attachment mode over the per subcommand one. - unwrap() - Method in class studio.mevera.imperat.util.TypeWrap
- update(K, Function<? super V, ? extends V>) - Method in class studio.mevera.imperat.util.Registry
- updateData(K, Consumer<V>) - Method in class studio.mevera.imperat.util.Registry
- updateIfAbsent(K, Function<? super K, ? extends V>) - Method in class studio.mevera.imperat.util.Registry
- updateIfPresent(K, Function<? super V, ? extends V>) - Method in class studio.mevera.imperat.util.Registry
- usage(CommandUsage.Builder<S>) - Method in class studio.mevera.imperat.command.Command.Builder
- Usage - Annotation Interface in studio.mevera.imperat.annotations
-
Declares a command usage method and provides example invocations for help output.
- UsageCooldown - Class in studio.mevera.imperat.command.cooldown
-
Represents a required cooldown of a
CommandUsage - UsageCooldown(long, TimeUnit, String) - Constructor for class studio.mevera.imperat.command.cooldown.UsageCooldown
- UsageCooldownProcessor<S extends Source> - Class in studio.mevera.imperat.command.processors.impl
- UsageFormatter<S extends Source,
C> - Interface in studio.mevera.imperat.command.tree.help.renderers -
Interface for formatting command usage paths into displayable help components.
- UsageRegistrationException - Exception in studio.mevera.imperat.exception
-
Happens when the
CommandUsagebeing registered breaks the rules of a valid usage These rules are defined by theUsageVerifier. - UsageRegistrationException(Command<S>, CommandUsage<S>) - Constructor for exception studio.mevera.imperat.exception.UsageRegistrationException
-
Constructs a new UsageRegistrationException for the given command and usage that violates the usage rules.
- usages() - Method in interface studio.mevera.imperat.command.Command
- usageVerifier(UsageVerifier<S>) - Method in class studio.mevera.imperat.ConfigBuilder
-
Sets the usage verifier for the configuration.
- UsageVerifier<S extends Source> - Interface in studio.mevera.imperat.verification
-
Verifies that the
CommandUsageis suitable to be added to the command - uuid() - Static method in class studio.mevera.imperat.command.parameters.type.ParameterTypes
- uuid() - Method in interface studio.mevera.imperat.context.Source
V
- value() - Element in annotation interface studio.mevera.imperat.annotations.Command
- value() - Element in annotation interface studio.mevera.imperat.annotations.Cooldown
- value() - Element in annotation interface studio.mevera.imperat.annotations.Default
- value() - Element in annotation interface studio.mevera.imperat.annotations.DefaultProvider
- value() - Element in annotation interface studio.mevera.imperat.annotations.Description
- value() - Element in annotation interface studio.mevera.imperat.annotations.ExceptionHandler
- value() - Element in annotation interface studio.mevera.imperat.annotations.ExternalSubCommand
- value() - Element in annotation interface studio.mevera.imperat.annotations.Flag
- value() - Element in annotation interface studio.mevera.imperat.annotations.Format
- value() - Element in annotation interface studio.mevera.imperat.annotations.Forward
- value() - Element in annotation interface studio.mevera.imperat.annotations.GlobalAttachmentMode
-
Retrieves the
AttachmentModeassociated with this annotation. - value() - Element in annotation interface studio.mevera.imperat.annotations.Named
- value() - Element in annotation interface studio.mevera.imperat.annotations.Permission
- value() - Element in annotation interface studio.mevera.imperat.annotations.PostProcessor
- value() - Element in annotation interface studio.mevera.imperat.annotations.PreProcessor
- value() - Element in annotation interface studio.mevera.imperat.annotations.SubCommand
- value() - Element in annotation interface studio.mevera.imperat.annotations.Suggest
- value() - Element in annotation interface studio.mevera.imperat.annotations.SuggestionProvider
- value() - Element in annotation interface studio.mevera.imperat.annotations.Switch
- value() - Element in annotation interface studio.mevera.imperat.annotations.Values
-
Specific allowed values
- value() - Method in class studio.mevera.imperat.command.cooldown.UsageCooldown
- value() - Method in record class studio.mevera.imperat.command.suggestions.CompletionArg
-
Returns the value of the
valuerecord component. - value() - Method in record class studio.mevera.imperat.context.internal.Argument
-
Returns the value of the
valuerecord component. - value() - Method in record class studio.mevera.imperat.context.internal.ExtractedInputFlag
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class studio.mevera.imperat.command.AttachmentMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.command.tree.help.HelpRenderOptions.Layout
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.command.tree.help.theme.HelpTheme.PresentationStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.context.internal.ShiftTarget
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.exception.ProcessorException.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class studio.mevera.imperat.exception.SourceException.ErrorLevel
-
Returns the enum constant of this class with the specified name.
- ValueOutOfConstraintException - Exception in studio.mevera.imperat.exception.parse
- ValueOutOfConstraintException(String, Set<String>, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.ValueOutOfConstraintException
- values() - Static method in enum class studio.mevera.imperat.command.AttachmentMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.command.tree.CommandPathSearch.Result
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.command.tree.help.HelpRenderOptions.Layout
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.command.tree.help.theme.HelpTheme.PresentationStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.context.internal.ShiftTarget
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.context.internal.sur.HandleResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.exception.parse.InvalidMapEntryFormatException.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.exception.ProcessorException.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class studio.mevera.imperat.exception.SourceException.ErrorLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Values - Annotation Interface in studio.mevera.imperat.annotations
-
Restricts a parameter to a predefined set of allowed string values.
- valueType() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- verify(CommandUsage<S>) - Method in interface studio.mevera.imperat.verification.UsageVerifier
- verifyWithFail(Rule<E>, Imperat<?>, AnnotationParser<?>, E) - Method in interface studio.mevera.imperat.annotations.base.element.selector.ElementSelector
- visit(Command<S>, HelpQuery<S>) - Method in class studio.mevera.imperat.command.tree.help.StandardTreeHelpVisitor
- visit(Command<S>, HelpQuery<S>) - Method in interface studio.mevera.imperat.command.tree.help.TreeHelpVisitor
-
Queries help entries based on the given query parameters.
- visitCommandClass(ClassElement) - Method in class studio.mevera.imperat.annotations.base.element.CommandClassVisitor
- visualize() - Method in class studio.mevera.imperat.command.tree.CommandTreeVisualizer
- visualizeSimple() - Method in class studio.mevera.imperat.command.tree.CommandTreeVisualizer
-
Alternative visualization using a simpler node representation
- visualizeTree() - Method in interface studio.mevera.imperat.command.Command
-
Debugs or visualizes all tree nodes from
CommandTree. - visualizeUniqueTreeSimple() - Method in class studio.mevera.imperat.command.tree.CommandTreeVisualizer
-
Alternative visualization using a simpler node representation
W
- warn(String) - Method in interface studio.mevera.imperat.context.Source
-
Replies to the command sender with a string message formatted specifically for error messages
- WARN - Enum constant in enum class studio.mevera.imperat.exception.SourceException.ErrorLevel
- warning(String, Object...) - Static method in class studio.mevera.imperat.util.ImperatDebugger
- withHandler(ParameterHandler<S>) - Method in class studio.mevera.imperat.context.internal.sur.ChainFactory.ChainBuilder
- withoutFlagSign(String) - Static method in class studio.mevera.imperat.util.Patterns
- withPermission(String) - Static method in class studio.mevera.imperat.command.tree.help.HelpFilters
-
Creates a filter that only includes nodes with a specific permission.
- withSuggestions(String...) - Method in class studio.mevera.imperat.command.parameters.type.BaseParameterType
-
Adds the provided suggestions to the current list of suggestions for this parameter type.
- withSuggestions(String...) - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Returns a new
ParameterTypeinstance with the specified suggestions. - WordOutOfRestrictionsException - Exception in studio.mevera.imperat.exception.parse
- WordOutOfRestrictionsException(String, List<String>, Context<?>) - Constructor for exception studio.mevera.imperat.exception.parse.WordOutOfRestrictionsException
- wrap() - Method in class studio.mevera.imperat.util.TypeWrap
- wrappedType() - Method in interface studio.mevera.imperat.command.Command
- wrappedType() - Method in interface studio.mevera.imperat.command.parameters.CommandParameter
- wrappedType() - Method in class studio.mevera.imperat.command.parameters.ConstrainedParameterTypeDecorator
- wrappedType() - Method in class studio.mevera.imperat.command.parameters.InputParameter
- wrappedType() - Method in interface studio.mevera.imperat.command.parameters.type.ParameterType
-
Gets a
TypeWrapfor the handled type. - wrapSender(Object) - Method in interface studio.mevera.imperat.SourceWrapper
-
Wraps the sender into a built-in command-sender valueType
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form