Make DeprecatedCallableAddReplaceWithInspection applicability based
Removes intention version of the same thing Includes some optimization of 'Deprecated' annotation detection
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
package pack
|
||||
|
||||
import dependency.D
|
||||
|
||||
@Deprecated("", ReplaceWith("bar(D.value)", "dependency.D"))
|
||||
fun foo() {
|
||||
bar(D.value)
|
||||
}
|
||||
|
||||
fun bar(p: Int){}
|
||||
Reference in New Issue
Block a user