diff options
author | Senmori <thesenmori@gmail.com> | 2018-02-27 21:42:48 -0500 |
---|---|---|
committer | Senmori <thesenmori@gmail.com> | 2018-02-27 21:42:48 -0500 |
commit | b0b94aee56dd06e81335b89a8536f6ca6c3842d9 (patch) | |
tree | 936fe0720653d29f10d618c8cf343a8efe48fdc1 /src/main/java/org/bukkit/plugin/java/annotation/command/Commands.java | |
parent | be009c1cc6e6dd080294afad5436ba91b45b034c (diff) | |
download | plugin-annotations-b0b94aee56dd06e81335b89a8536f6ca6c3842d9.tar plugin-annotations-b0b94aee56dd06e81335b89a8536f6ca6c3842d9.tar.gz plugin-annotations-b0b94aee56dd06e81335b89a8536f6ca6c3842d9.tar.lz plugin-annotations-b0b94aee56dd06e81335b89a8536f6ca6c3842d9.tar.xz plugin-annotations-b0b94aee56dd06e81335b89a8536f6ca6c3842d9.zip |
Update plugin-annotations to 1.12 and Java 8.
Diffstat (limited to 'src/main/java/org/bukkit/plugin/java/annotation/command/Commands.java')
-rw-r--r-- | src/main/java/org/bukkit/plugin/java/annotation/command/Commands.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/plugin/java/annotation/command/Commands.java b/src/main/java/org/bukkit/plugin/java/annotation/command/Commands.java new file mode 100644 index 0000000..c98a77b --- /dev/null +++ b/src/main/java/org/bukkit/plugin/java/annotation/command/Commands.java @@ -0,0 +1,20 @@ +package org.bukkit.plugin.java.annotation.command; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Part of the plugin annotations framework. + * <p> + * Represents a list of this plugin's registered command(s). + */ + +@Documented +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface Commands { + Command[] value() default {}; +} |