From 4810dcf339a59f49305e184fc22abf839d41c310 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 6 Nov 2018 16:16:01 +0100 Subject: Moved files to use the gradle structure --- .../com/redstoner/annotations/AutoRegisterListener.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/java/com/redstoner/annotations/AutoRegisterListener.java (limited to 'src/main/java/com/redstoner/annotations/AutoRegisterListener.java') 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 +{} -- cgit v1.2.3