finalize generation of clean Java api