Class MagicCommand.SubCommandInfo
java.lang.Object
dev.ua.theroer.magicutils.commands.MagicCommand.SubCommandInfo
- Enclosing class:
MagicCommand
Holds information about a subcommand and its method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SubCommandThe SubCommand annotation.final MethodThe method implementing the subcommand. -
Constructor Summary
ConstructorsConstructorDescriptionSubCommandInfo(SubCommand annotation, Method method) Constructs a SubCommandInfo. -
Method Summary
-
Field Details
-
annotation
The SubCommand annotation. -
method
The method implementing the subcommand.
-
-
Constructor Details
-
SubCommandInfo
Constructs a SubCommandInfo.- Parameters:
annotation- the SubCommand annotationmethod- the method
-