aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/processor/annotations/Target.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/annotations/Target.java')
-rw-r--r--src/main/java/ftbsc/lll/processor/annotations/Target.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/processor/annotations/Target.java b/src/main/java/ftbsc/lll/processor/annotations/Target.java
index e1e69f7..d397705 100644
--- a/src/main/java/ftbsc/lll/processor/annotations/Target.java
+++ b/src/main/java/ftbsc/lll/processor/annotations/Target.java
@@ -44,4 +44,12 @@ public @interface Target {
* @since 0.3.0
*/
boolean strict() default true;
+
+ /**
+ * When set to true, tells the processor to match the synthetic "bridge" method
+ * generated by the compiler to handle type erasure.
+ * @return whether the bridge method should be targeted instead of the actual method
+ * @since 0.5.2
+ */
+ boolean bridge() default false;
}