clean cache method in CodeParser.java optimize