aboutsummaryrefslogtreecommitdiff
path: root/test/stubs
diff options
context:
space:
mode:
Diffstat (limited to 'test/stubs')
-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