finishing up java generation.