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