Annotation Interface JDACommand.Category
- Enclosing class:
JDACommand
A helper annotation to assist in location of Category instance.
This will target a static field in the specified class
location
using reflections, with a
matching name
.
It is important to remember the target must be a static field
and any other attempted inputs will result in errors from the
compiler
.
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<?>
The target class where the static field is located.The name of the static field in thetarget class
that will be the category for the annotated command.
-
Element Details
-
name
String nameThe name of the static field in thetarget class
that will be the category for the annotated command.- Returns:
- The name of the static field in the target class.
-
location
Class<?> locationThe target class where the static field is located.- Returns:
- The target class where the static field is located.
-