elect
02/09/2017, 8:17 AMglm.kt
file I have:
val glm = Glm
object Glm
The reason for that is that I'd like from java to simply type glm.whatever()
instead Glm.INSTANCE.whatever()
But in my test java class I have
import static main.GlmKt.glm;
public static void main(String[] argvs) {
glm.whatever();
}
And Intellij keeps me saying
' glm' has private access in 'main.GlmKt'Why? How can I solve that?