I would like to create an object of:
class MyUIntValue(val v: UInt)
This works in kotlin:
fun main() {
MyUIntValue(1U)
}
But in java code I get an error:
public static void main(String[] args) {
System.out.println(new MyUIntValue(1));
}
error: MyUIntValue(int) has private access in MyUIntValue
I didn't find in the docs what's the proper way to create a UInt from java?