summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/annotations/AutoRegisterListener.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/redstoner/annotations/AutoRegisterListener.java')
-rw-r--r--src/main/java/com/redstoner/annotations/AutoRegisterListener.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/annotations/AutoRegisterListener.java b/src/main/java/com/redstoner/annotations/AutoRegisterListener.java
new file mode 100644
index 0000000..fabdb5f
--- /dev/null
+++ b/src/main/java/com/redstoner/annotations/AutoRegisterListener.java
@@ -0,0 +1,15 @@
+package com.redstoner.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/** The auto register annotation, to be put onto Classes that implement listener when you are too lazy to register the events yourself.
+ *
+ * @author Pepich */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+@Version(major = 1, minor = 0, revision = 1, compatible = 1)
+public @interface AutoRegisterListener
+{}