C++ to JAVA code converter