I have an `object Foo` defined in Kotlin, which ca...
# announcements
v
I have an
object Foo
defined in Kotlin, which can be accessed using
Foo.INSTANCE
from Java. Is it possible to change
INSTANCE
to something else? I'm doing some code generation and want to know if it's safe to assume that
INSTANCE
static field will exist? For companion objects it's possible to explicitly specify the name, but I'm not sure if it's possible for regular objects.