Files
Nikita Bobko 303ef26859 2/3 Provide RemoveAnnotationFix for useless use-site get annotation target
^KTIJ-25002 Fixed
Review: https://jetbrains.team/p/ij/reviews/106177

GitOrigin-RevId: d8049eeffb7db660d9dffba8fbd1ac12d5a7d64c
2023-05-15 18:56:12 +00:00

10 lines
348 B
Kotlin

// "Remove @JvmOverloads annotation" "false"
// ERROR: '@set:' annotations could be applied only to property declarations
// ERROR: This annotation is not applicable to target 'getter' and use site target '@set'
// WITH_STDLIB
class Foo {
private var bar = 0
<caret>@set/*comment*/:Deprecated("", level = DeprecationLevel.ERROR) get
}