Revert "Add quick fix for 'JAVA_CLASS_ON_COMPANION'"
This reverts commit 15a615d6
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
// "Replace with '::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
// DISABLE-ERRORS
|
||||
fun main() {
|
||||
val c: Class<Int.Companion> = Int.javaClass<caret>
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
// "Replace with '::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
// DISABLE-ERRORS
|
||||
fun main() {
|
||||
val c: Class<Int.Companion> = Int::class.java
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
// "Replace with '::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val c = Int.javaClass<caret>
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with '::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val c = Int::class.java
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
// "Replace with '::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val name = Int.javaClass<caret>.name
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with '::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val name = Int::class.java.name
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with 'Companion::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val c: Class<Int.Companion> = Int.javaClass<caret>
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with 'Companion::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val c: Class<Int.Companion> = Int.Companion::class.java
|
||||
}
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
// "Replace with 'Bar::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
class Foo {
|
||||
companion object Bar
|
||||
}
|
||||
|
||||
fun test() {
|
||||
Foo.javaClass<caret>
|
||||
}
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
// "Replace with 'Bar::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
class Foo {
|
||||
companion object Bar
|
||||
}
|
||||
|
||||
fun test() {
|
||||
Foo.Bar::class.java
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with 'Companion::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val c = Int.javaClass<caret>
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with 'Companion::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val c = Int.Companion::class.java
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with 'Companion::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val name = Int.javaClass<caret>.name
|
||||
}
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
// "Replace with 'Companion::class.java'" "true"
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
val name = Int.Companion::class.java.name
|
||||
}
|
||||
Reference in New Issue
Block a user