Class AnnotatedModuleCompilerImpl
java.lang.Object
com.jagrosh.jdautilities.command.impl.AnnotatedModuleCompilerImpl
- All Implemented Interfaces:
AnnotatedModuleCompiler
Default implementation for
AnnotatedModuleCompiler.- Since:
- 1.8
- Author:
- Kaidan Gustave
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnnotatedModuleCompilerImpl
public AnnotatedModuleCompilerImpl()
-
-
Method Details
-
compile
Description copied from interface:AnnotatedModuleCompilerCompiles one or moreCommands using method annotations as for properties from the specifiedObject.This Object must be annotated with
@JDACommand.Module!- Specified by:
compilein interfaceAnnotatedModuleCompiler- Parameters:
o- The Object, annotated with@JDACommand.Module.- Returns:
- A
Listof Commands generated from the provided Object
-