If you put your const val valName = valValue
before the class name, this way it will creates a
public static final YourClass.Kt
that will have the public static final
values.
Kotlin:
const val MY_CONST0 = 0
const val MY_CONST1 = 1
data class MyClass(var some: String)
Java decompiled:
public final class MyClassKt {
public static final int MY_CONST0 = 0;
public static final int MY_CONST1 = 1;
}
// rest of MyClass.java