adding more generate details including java templates.