Update IntermediateGenerator.java