aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/processor/annotations/MultipleTargets.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/annotations/MultipleTargets.java')
-rw-r--r--src/main/java/ftbsc/lll/processor/annotations/MultipleTargets.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/processor/annotations/MultipleTargets.java b/src/main/java/ftbsc/lll/processor/annotations/MultipleTargets.java
new file mode 100644
index 0000000..aa37530
--- /dev/null
+++ b/src/main/java/ftbsc/lll/processor/annotations/MultipleTargets.java
@@ -0,0 +1,19 @@
+package ftbsc.lll.processor.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Repeatable;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Used to support {@link Target} as a {@link Repeatable} annotation.
+ * @since 0.5.0
+ */
+@Retention(RetentionPolicy.CLASS)
+@java.lang.annotation.Target(ElementType.METHOD)
+public @interface MultipleTargets {
+ /**
+ * @return the {@link Injector} annotations, as an array
+ */
+ Target[] value();
+}