renaming JavaSolution to JavaGenerator