Constructor usages are replaced too
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.Random
|
||||
|
||||
// "Replace with 'java.util.Random'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("java.util.Random"))
|
||||
class OldClass
|
||||
|
||||
fun foo() {
|
||||
Random(1)
|
||||
}
|
||||
Reference in New Issue
Block a user