christopher
06/28/2016, 8:17 PMclass MyClass {
private companion object {
fun foo() {
// This method is static and encapsulated to the degree that it cannot affect anything non-public on MyClass.
}
}
fun bar() {
foo()
}
}