https://kotlinlang.org logo
j

jmfayard

08/09/2018, 8:44 AM
I wish there was a refactoring from singleton to a class with an empty constructor
object MyClass { ... }
to
MyClass() { .. }
It's a bit painfull to replace manually all
(e == MyClass)
to
(e is MyClass)
and all
doSomething(MyClass)
to
doSomething(MyClass())