public interface CommandAnnotationProcessor
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
getAnnotationClass() |
void |
process(org.bukkit.command.CommandSender sender,
CommandContext context,
Annotation instance,
Object[] args) |
Class<? extends Annotation> getAnnotationClass()
Annotation
class that this processor will accept.void process(org.bukkit.command.CommandSender sender, CommandContext context, Annotation instance, Object[] args) throws CommandException
sender
- The command sendercontext
- The context of the command, including argumentsinstance
- The Annotation
instanceargs
- The method argumentsCommandException
- If an exception occursCopyright © 2021. All rights reserved.