public class TestA {
public static void a() {}
}
fun TestA.b(){}
How can I extension Java class with Kotlin to use like static fun ?
just like TestA.b()
to use this fun
public class TestA {
public static void a() {}
}
fun TestA.b(){}
How can I extension Java class with Kotlin to use like static fun ?
just like TestA.b()
to use this fun
Actually, it is currently not yet supported to statcally extend a Java-Class. See the corresponding issue