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