Class MagicCommand.SubCommandInfo

java.lang.Object
dev.ua.theroer.magicutils.commands.MagicCommand.SubCommandInfo
Enclosing class:
MagicCommand

public static class MagicCommand.SubCommandInfo extends Object
Holds information about a subcommand and its method.
  • Field Details

    • annotation

      public final SubCommand annotation
      The SubCommand annotation.
    • method

      public final Method method
      The method implementing the subcommand.
  • Constructor Details

    • SubCommandInfo

      public SubCommandInfo(SubCommand annotation, Method method)
      Constructs a SubCommandInfo.
      Parameters:
      annotation - the SubCommand annotation
      method - the method