|
|
@ -227,6 +227,7 @@ public abstract class Command implements ICommandExecutor
|
|
|
|
* @param target Target method
|
|
|
|
* @param target Target method
|
|
|
|
* @return A new created command built from the method, or `null` if the method is not a valid command.
|
|
|
|
* @return A new created command built from the method, or `null` if the method is not a valid command.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Deprecated
|
|
|
|
public static Command buildFromAnnotatedCommand(AnnotatedCommand meta, Method target, Object invokable)
|
|
|
|
public static Command buildFromAnnotatedCommand(AnnotatedCommand meta, Method target, Object invokable)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return builder(meta.name())
|
|
|
|
return builder(meta.name())
|
|
|
|