/*
 * CommandMethod.java
 *
 * Copyright (c) 2014. Graham Howden <graham_howden1 at yahoo.co.uk>.
 *
 * This file is part of PluginFramework.
 *
 * PluginFramework is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * PluginFramework is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with PluginFramework.  If not, see <http ://www.gnu.org/licenses/>.
 */

package com.publicuhc.pluginframework.routing.annotation;

import org.bukkit.command.CommandSender;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface CommandMethod
{
    public static final String DEFAULT_HELP = "?";

    public String command();

    public boolean options() default false;

    public String[] optionOrder() default {};

    public String[] permissions() default {};

    public String helpOption() default DEFAULT_HELP;

    public Class<? extends CommandSender>[] allowedSenders() default CommandSender.class;
}
@@ -862,50 +862,8 @@
 n;%0A%0A
-import org.bukkit.command.CommandSender;%0A%0A
 impo
@@ -970,404 +970,313 @@
 ted%0A
-public @interface CommandMethod%0A%7B%0A    public static final String DEFAULT_HELP = %22?%22;%0A%0A    public String command();%0A%0A    public boolean options() default false;%0A%0A    public String%5B%5D optionOrder() default %7B%7D;%0A%0A    public String%5B%5D permissions() default %7B%7D;%0A%0A    public String helpOption() default DEFAULT_HELP;%0A%0A    public Class%3C? extends CommandSender%3E%5B%5D allowedSenders() default CommandSender.class
+/**%0A * Tags the relevant method as a command method.%0A *%0A * @see PermissionRestriction%0A * @see CommandOptions%0A * @see SenderRestriction%0A */%0Apublic @interface CommandMethod%0A%7B%0A    public static final String DEFAULT_HELP = %22?%22;%0A%0A    public String command();%0A%0A    public String helpOption() default DEFAULT_HELP
 ;%0A%7D

remove the stuff that is now in other annotations