If I have code like this
object ObjectTest {
@JvmStatic
fun init() {
}
}
is it possible to hide the ObjectTest.INSTANCE
variable that Kotlin automatically generates? I don't want the object to be accessible via an instance and nor will it have any instance methods, so the INSTANCE
variable is just polluting autocomplete and could be confusing to potential users (This code is for a library that will be consumed by others).