changed gen java
refactoring gen file.