Safe Delete: Move test classes and test data to refactoring directory
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
interface A
|
||||
|
||||
fun foo(): A {
|
||||
return <caret>object: A {
|
||||
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
interface A
|
||||
|
||||
fun foo(): A {
|
||||
return object: A {
|
||||
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
|
||||
class A {
|
||||
fun foo(): Int = 0
|
||||
|
||||
companion ob<caret>ject {}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
class A {
|
||||
fun foo(): Int = 0
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
object <caret>A {
|
||||
|
||||
}
|
||||
|
||||
A
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
|
||||
A
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
object foo.A has 1 usage that is not safe to delete.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
object <caret>A {
|
||||
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fun foo() {
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
object A {
|
||||
object <caret>O {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
object A {
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import test.A.O
|
||||
|
||||
object A {
|
||||
object <caret>O {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
val x = A.O
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
object test.A.O has 1 usage that is not safe to delete.
|
||||
@@ -0,0 +1,11 @@
|
||||
class C {
|
||||
|
||||
}
|
||||
|
||||
object <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
object <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
object <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
val x = A
|
||||
}
|
||||
|
||||
val v1 = A::class
|
||||
+1
@@ -0,0 +1 @@
|
||||
object test.A has 2 usages that are not safe to delete.
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import test.A.x
|
||||
|
||||
object <caret>A {
|
||||
val x = ""
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
object test.A has 1 usage that is not safe to delete.
|
||||
Reference in New Issue
Block a user