kotlinstatic method code example Example: kotlinstatic method class Foo { // Static method companion object { fun a() : Int = 1 } }