aboutsummaryrefslogtreecommitdiff
path: root/test/stubs/org/checkerframework
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2021-07-21 13:54:54 +0200
committerRoel Spilker <r.spilker@gmail.com>2022-01-09 01:36:22 +0100
commitae8ff327d2734e373df2839335ba9b1923c6eb67 (patch)
tree55c94c8d02fa0fc4d60f8faa29fc44d67e2cc9dd /test/stubs/org/checkerframework
parent9be867ef03b77e0455a45d22e4a8cd7c5fa9af61 (diff)
downloadlombok-ae8ff327d2734e373df2839335ba9b1923c6eb67.tar.gz
lombok-ae8ff327d2734e373df2839335ba9b1923c6eb67.tar.bz2
lombok-ae8ff327d2734e373df2839335ba9b1923c6eb67.zip
[fixes #3081] make CheckerFramework's This a type annotation
Diffstat (limited to 'test/stubs/org/checkerframework')
-rw-r--r--test/stubs/org/checkerframework/common/returnsreceiver/qual/This.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/stubs/org/checkerframework/common/returnsreceiver/qual/This.java b/test/stubs/org/checkerframework/common/returnsreceiver/qual/This.java
index 8ae1cd59..2683ef5f 100644
--- a/test/stubs/org/checkerframework/common/returnsreceiver/qual/This.java
+++ b/test/stubs/org/checkerframework/common/returnsreceiver/qual/This.java
@@ -1,12 +1,10 @@
package org.checkerframework.common.returnsreceiver.qual;
import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Inherited
+@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
public @interface This {} \ No newline at end of file