Add quick fixes for RESTRICTED_RETENTION_FOR_EXPRESSION_ANNOTATION (KT-25574)

This commit is contained in:
Toshiaki Kameyama
2018-08-01 14:18:27 +03:00
committed by Nikolay Krasko
parent fb0261bfc1
commit 58b6360388
28 changed files with 382 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Remove EXPRESSION target" "true"
<caret>@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.EXPRESSION)
annotation class Ann
@@ -0,0 +1,3 @@
// "Remove EXPRESSION target" "true"
@Retention(AnnotationRetention.BINARY)
annotation class Ann
@@ -0,0 +1,4 @@
// "Remove EXPRESSION target" "true"
<caret>@Retention
@Target(AnnotationTarget.EXPRESSION)
annotation class Ann
@@ -0,0 +1,3 @@
// "Remove EXPRESSION target" "true"
@Retention
annotation class Ann
@@ -0,0 +1,4 @@
// "Remove EXPRESSION target" "true"
<caret>@Retention()
@Target(AnnotationTarget.EXPRESSION)
annotation class Ann
@@ -0,0 +1,3 @@
// "Remove EXPRESSION target" "true"
@Retention()
annotation class Ann
@@ -0,0 +1,3 @@
// "Remove EXPRESSION target" "true"
<caret>@Target(AnnotationTarget.EXPRESSION)
annotation class Ann
@@ -0,0 +1,2 @@
// "Remove EXPRESSION target" "true"
annotation class Ann