In Java, we can create an utilities class like this:
final class Utils { public static boolean foo() { return false; } }
Bu
You'd need to use @JvmStatic for that:
In Kotlin:
object Utils { @JvmStatic fun foo(): Boolean = true } val test = Utils.foo()
In Java:
final boolean test = Utils.foo()