Implement quickfix to remove '.java' when KClass is expected
Fixes #KT-11078
This commit is contained in:
committed by
Dmitry Jemerov
parent
5b272921e6
commit
cc730c36ad
+9
@@ -0,0 +1,9 @@
|
||||
// "Remove '.java'" "true"
|
||||
fun foo() {
|
||||
bar(Foo::class.java<caret>)
|
||||
}
|
||||
|
||||
class Foo
|
||||
|
||||
fun bar(kc: kotlin.reflect.KClass<Foo>) {
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Remove '.java'" "true"
|
||||
fun foo() {
|
||||
bar(Foo::class<caret>)
|
||||
}
|
||||
|
||||
class Foo
|
||||
|
||||
fun bar(kc: kotlin.reflect.KClass<Foo>) {
|
||||
}
|
||||
Reference in New Issue
Block a user