DeprecatedCallableAddReplaceWithIntention
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
@deprecated("Use newFun instead", <spot>ReplaceWith("newFun(null)")</spot>)
|
||||
fun oldFun(): Int {
|
||||
return newFun(null)
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@deprecated("Use newFun instead")
|
||||
fun oldFun(): Int {
|
||||
return newFun(null)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention adds <i>kotlin.ReplaceWith</i> argument to <i>kotlin.deprecated</i> annotation on a function or property basing on its body.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user