As far as I understand "http://kotlinlang.org/docs/reference/classes.html">class object" is meant to be a single term and not a class named "object", but that is exactly what it looks like at first! Wouldn't it be possible to eleminate the word "class" from class objects? The single anonymous object within a class would then be the class object.
Instead of
class C() {
class object {
fun create() = C()
}
}
simply
class C() {
object {
fun create() = C()
}
}
But probably it’s too late for such changes …