Clean up Java Emitter