generated output for java