aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/ThisParameter.java
diff options
context:
space:
mode:
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();