Deprecated AnnotatedCommand.

I cannot support AnnotatedCommand with command options. Sorry !
keep-around/6d4ac31d79b8d01b9303a187e765abb5ff83af9f
Pingex aka Raphaël 9 years ago
parent 299b417478
commit 38188d941d

@ -11,6 +11,7 @@ import java.lang.annotation.Target;
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Deprecated
public @interface AnnotatedCommand
{
/**

@ -227,6 +227,7 @@ public abstract class Command implements ICommandExecutor
* @param target Target method
* @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)
{
return builder(meta.name())

@ -6,6 +6,7 @@ import java.util.Set;
* Indicates a plugin which can run commands (using annotated commands)
*/
@FunctionalInterface
@Deprecated
public interface IWithAnnotatedCommands
{
/**