scalagen icon indicating copy to clipboard operation
scalagen copied to clipboard

Java to Scala transformation

Results 21 scalagen issues
Sort by recently updated
recently updated
newest added

Are you guys still actively working on this project? For instance [this](https://github.com/ethereum/ethereumj/blob/fc0ee698ddaba1614a4b1fb2e9b6957641d58c9f/ethereumj-core/src/main/java/org/ethereum/net/rlpx/discover/NodeStatistics.java) one does. I can point you to the other 5 if that helps!

`byte[][] capabilities = new byte[this.capabilities.size()][];` was converted to: `val capabilities = new Array.ofDim[ByteByte,](this.capabilities.size)` which does not compile

Here is an example: ``` class A { public A() { System.out.println(1); } public A(String s) { System.out.println(2); } } ``` Which is converted to: ``` class A { println(1)...

this: ``` java class Foo { private int bar; public Foo(int bar) { this.bar = bar * 2; // ok in Java } } ``` gets converted to: ``` scala...

in progress

add varargs invocation support

bug

turn ``` if (a == a1) return b1 else if (a == a2) return b2 else return x ``` into ``` a match { case a1 => b1 case a2...

http://code.google.com/p/javaparser/issues/detail?id=9&colspec=ID%20Type%20Status%20Stars%20Summary

I tried to convert ParallelColt to scala. It worked fine, except it hung on the file hep.aida.tdouble.ref.DoubleConverter.java. You can get any of the ParallelColt implementations on github or google code....

Starting from the Java: ``` class A { public A(String str) {} } class B extends A { public B() { super("some value"); } public B(String str) { super(str); }...