KT-5287 J2K: Convert class with private constructor and static functions to "object" instead of class with "class object"

#KT-5287 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-03-27 13:55:47 +03:00
parent 6dbb13c32d
commit f19eb20803
63 changed files with 550 additions and 482 deletions
@@ -1,28 +1,26 @@
class F {
companion object {
object F {
//c1
//c1
/*c2*/
/*c2*/
fun f1() {
}
fun f1() {
}
//c3
//c3
//c4
//c4
fun f2() {
}
fun f2() {
}
var i: Int? = 0
var i: Int? = 0
fun f3() {
}
fun f3() {
}
//c5