Make DeprecatedCallableAddReplaceWithInspection applicability based
Removes intention version of the same thing Includes some optimization of 'Deprecated' annotation detection
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// PROBLEM: none
|
||||
class C {
|
||||
private val v = 1
|
||||
|
||||
<caret>@Deprecated("")
|
||||
fun foo() {
|
||||
bar(v)
|
||||
}
|
||||
|
||||
fun bar(p: Int){}
|
||||
}
|
||||
Reference in New Issue
Block a user