Replace with: do not remove annotation use-site targets
This commit is contained in:
committed by
Dmitry Gridin
parent
f573719cc1
commit
06bd620dd6
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace with 'Bar()'" "true"
|
||||
class Test {
|
||||
@get:<caret>Foo
|
||||
val s: String = ""
|
||||
}
|
||||
|
||||
@Deprecated("Replace with Bar", ReplaceWith("Bar()"))
|
||||
@Target(AnnotationTarget.PROPERTY_GETTER)
|
||||
annotation class Foo
|
||||
|
||||
@Target(AnnotationTarget.PROPERTY_GETTER)
|
||||
annotation class Bar
|
||||
Reference in New Issue
Block a user