henrik
09/29/2017, 11:10 AM@JvmStatic
usage here is valid: object Obj {
@JvmStatic fun foo() {}
fun bar() {}
}
However I have a object that looks almost exactly the same and I get Error: Only functions in named objects and companion objects of classes can be annotated with '@JvmStatic'