aboutsummaryrefslogtreecommitdiff
path: root/test/stubs/org/checkerframework/checker/calledmethods/qual
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-10-08 20:17:22 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-10-08 20:17:22 +0200
commit96d02e66b7fc911cb2e2b5973b71d673294fb36e (patch)
tree20b03a5e61aee3b2a1eef25721de1ecdb32b95e9 /test/stubs/org/checkerframework/checker/calledmethods/qual
parentfd1677415411256036254b4115936128b0f199b1 (diff)
downloadlombok-96d02e66b7fc911cb2e2b5973b71d673294fb36e.tar.gz
lombok-96d02e66b7fc911cb2e2b5973b71d673294fb36e.tar.bz2
lombok-96d02e66b7fc911cb2e2b5973b71d673294fb36e.zip
[fixup] Fixing up the checkerframework `@CalledMethods` annotation package rename from commit 390ebcf
Diffstat (limited to 'test/stubs/org/checkerframework/checker/calledmethods/qual')
-rw-r--r--test/stubs/org/checkerframework/checker/calledmethods/qual/CalledMethods.java17
-rw-r--r--test/stubs/org/checkerframework/checker/calledmethods/qual/NotCalledMethods.java17
2 files changed, 34 insertions, 0 deletions
diff --git a/test/stubs/org/checkerframework/checker/calledmethods/qual/CalledMethods.java b/test/stubs/org/checkerframework/checker/calledmethods/qual/CalledMethods.java
new file mode 100644
index 00000000..514e8c6b
--- /dev/null
+++ b/test/stubs/org/checkerframework/checker/calledmethods/qual/CalledMethods.java
@@ -0,0 +1,17 @@
+package org.checkerframework.checker.calledmethods.qual;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
+public @interface CalledMethods {
+ /**
+ * Methods that have been called, on any expression whose type is annotated.
+ *
+ * @return methods that have been called
+ */
+ public String[] value() default {};
+} \ No newline at end of file
diff --git a/test/stubs/org/checkerframework/checker/calledmethods/qual/NotCalledMethods.java b/test/stubs/org/checkerframework/checker/calledmethods/qual/NotCalledMethods.java
new file mode 100644
index 00000000..7a9ef37c
--- /dev/null
+++ b/test/stubs/org/checkerframework/checker/calledmethods/qual/NotCalledMethods.java
@@ -0,0 +1,17 @@
+package org.checkerframework.checker.calledmethods.qual;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
+public @interface NotCalledMethods {
+ /**
+ * Methods that have been called, on any expression whose type is annotated.
+ *
+ * @return methods that have been called
+ */
+ public String[] value() default {};
+} \ No newline at end of file