Implement quickfix to remove '.java' when KClass is expected

Fixes #KT-11078
This commit is contained in:
Kirill Rakhman
2016-03-21 00:28:06 +01:00
committed by Dmitry Jemerov
parent 5b272921e6
commit cc730c36ad
5 changed files with 117 additions and 0 deletions
@@ -0,0 +1,9 @@
// "Remove '.java'" "true"
fun foo() {
bar(Foo::class.java<caret>)
}
class Foo
fun bar(kc: kotlin.reflect.KClass<Foo>) {
}
@@ -0,0 +1,9 @@
// "Remove '.java'" "true"
fun foo() {
bar(Foo::class<caret>)
}
class Foo
fun bar(kc: kotlin.reflect.KClass<Foo>) {
}