Make DeprecatedCallableAddReplaceWithInspection applicability based
Removes intention version of the same thing Includes some optimization of 'Deprecated' annotation detection
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// PROBLEM: none
|
||||
|
||||
<caret>@Deprecated("Use the other version", level=DeprecationLevel.HIDDEN)
|
||||
fun foo(a: Int) { foo(a) }
|
||||
|
||||
fun foo(a: Int, b: Int = 0) { ... }
|
||||
Reference in New Issue
Block a user