private static void clearBuildManagerState(Project project) {
    if (!project.isDefault()) {
      BuildManager.getInstance().clearState(project);
    }
  }
private static void clearBuildManagerState(Project project)