From 7be9114d1aa90ac2fcae3352e08fc0a9c13b803d Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 7 Oct 2012 21:26:56 +1100 Subject: Helps to include the annotation --- .../src/net/ess3/extra/AnnotatedCommand.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java (limited to 'EssentialsExtra/src') diff --git a/EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java b/EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java new file mode 100644 index 000000000..258b53bb5 --- /dev/null +++ b/EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java @@ -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 + { + }; +} -- cgit v1.2.3