kotlin static method
snippet in kotlin

kotlin static method

user6449

class Foo {
  companion object {
     fun a() : Int = 1
  }
}

Foo.a()