aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/ThisParameter.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-08-18 17:37:54 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-08-18 17:37:54 +0200
commit7bea429ea78204365dafde4f69c4e4c2a4b82587 (patch)
tree86c4540d5dc47b18f96997cc4e93ec896ffd99b7 /test/pretty/resource/after/ThisParameter.java
parentdf2601f9dba97ab1a10e7f6be5222968f3335150 (diff)
downloadlombok-7bea429ea78204365dafde4f69c4e4c2a4b82587.tar.gz
lombok-7bea429ea78204365dafde4f69c4e4c2a4b82587.tar.bz2
lombok-7bea429ea78204365dafde4f69c4e4c2a4b82587.zip
[jdk17] Fix ThisParamter test
Diffstat (limited to 'test/pretty/resource/after/ThisParameter.java')
-rw-r--r--test/pretty/resource/after/ThisParameter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pretty/resource/after/ThisParameter.java b/test/pretty/resource/after/ThisParameter.java
index 49452a59..c57916be 100644
--- a/test/pretty/resource/after/ThisParameter.java
+++ b/test/pretty/resource/after/ThisParameter.java
@@ -16,17 +16,17 @@ class ThisParameter {
void runtimeTagged(@RuntimeTagged("runtime") ThisParameter this) {
// no content
}
- @Target(ElementType.PARAMETER)
+ @Target(ElementType.TYPE_USE)
@Retention(RetentionPolicy.SOURCE)
@interface SourceTagged {
String value();
}
- @Target(ElementType.PARAMETER)
+ @Target(ElementType.TYPE_USE)
@Retention(RetentionPolicy.CLASS)
@interface ClassTagged {
String value();
}
- @Target(ElementType.PARAMETER)
+ @Target(ElementType.TYPE_USE)
@Retention(RetentionPolicy.RUNTIME)
@interface RuntimeTagged {
String value();