Add more functionality to the DeclarationVisitor in JavaExport
Add all cases of the Statement visitor in Java export.