mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-22 22:34:43 +02:00
Helps to include the annotation
This commit is contained in:
20
EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java
Normal file
20
EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
package net.ess3.extra;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target(ElementType.TYPE)
|
||||||
|
public @interface AnnotatedCommand
|
||||||
|
{
|
||||||
|
String description() default "";
|
||||||
|
|
||||||
|
String usage() default "";
|
||||||
|
|
||||||
|
String[] aliases() default
|
||||||
|
{
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user