Improvements in the java parser