I want to have functions that sit in classes (not polluting the global namespace) but are accessed statically (never creating an object in which they reside). Proposed solution:
object A {
@JvmStatic
fun mkdir() {}
}
Is this a good solution or will it inevitably create an object? Which pattern should I use?