java2xtend
java2xtend copied to clipboard
Primitive field initialization constants have to be converted
The field switches type: public class Foo { double x = 0 } becomes class Foo { var x=0 } which is an integer.
Also public class Foo { double x = 0.0 } becomes class Foo { var x = 0. }
which is not valid syntax