diff options
author | md_5 <md_5@bigpond.com> | 2012-10-07 21:26:56 +1100 |
---|---|---|
committer | md_5 <md_5@bigpond.com> | 2012-10-07 21:26:56 +1100 |
commit | 7be9114d1aa90ac2fcae3352e08fc0a9c13b803d (patch) | |
tree | 8921c9ee0d400913a4303bc870330995b43c96c1 /EssentialsExtra/src | |
parent | 846668594c62889f6750dc7e138e49ecc41b14fa (diff) | |
download | Essentials-7be9114d1aa90ac2fcae3352e08fc0a9c13b803d.tar Essentials-7be9114d1aa90ac2fcae3352e08fc0a9c13b803d.tar.gz Essentials-7be9114d1aa90ac2fcae3352e08fc0a9c13b803d.tar.lz Essentials-7be9114d1aa90ac2fcae3352e08fc0a9c13b803d.tar.xz Essentials-7be9114d1aa90ac2fcae3352e08fc0a9c13b803d.zip |
Helps to include the annotation
Diffstat (limited to 'EssentialsExtra/src')
-rw-r--r-- | EssentialsExtra/src/net/ess3/extra/AnnotatedCommand.java | 20 |
1 files changed, 20 insertions, 0 deletions
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 + { + }; +} |