In Scala, how to create a class field compiled to public non-final field (from bytecode perspective).
Similar to this (in Java):
public class Meh {
public String field;
}
In Scala, how to create a class field compiled to public non-final field (from bytecode perspective).
Similar to this (in Java):
public class Meh {
public String field;
}
It's impossible in 'clean correct way'.
If you really want:
I don't know details behind your question, but I guess then in most cases adding some java to project will work better ;)