diff options
author | Logan Fick <logaldeveloper@protonmail.com> | 2019-02-08 11:29:54 -0500 |
---|---|---|
committer | Logan Fick <logaldeveloper@protonmail.com> | 2019-02-08 11:29:54 -0500 |
commit | 2a094897a0226cc286b3be52342663b9ac0d8d86 (patch) | |
tree | 9c65a9d6d1a655d519eceaeda60d464a1c921b83 /src/main/java/com/redstoner/annotations/AutoRegisterListener.java | |
parent | bc4ec4561ed1200497a5edcd03738ec9c0a16072 (diff) | |
parent | 335a5b57d322a0a9e3b43729e240206af05c09bb (diff) |
Merged pull request #8.v5.2.0
Diffstat (limited to 'src/main/java/com/redstoner/annotations/AutoRegisterListener.java')
-rw-r--r-- | src/main/java/com/redstoner/annotations/AutoRegisterListener.java | 15 |
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 +{} |