FreedomNetworkSuite/Patchwork/src/main/java/me/totalfreedom/command/annotation/Subcommand.java

16 lines
364 B
Java

package me.totalfreedom.command.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Subcommand
{
String permission();
Class<?>[] args() default {};
}