Cleanup of deadcode in JavaTreeMaker