protected @Nullable Project getProject() {
    ProjectManager projectManager = ProjectManager.getInstance();
    return projectManager != null ? projectManager.getDefaultProject() : null;
  }
protected @Nullable Project getProject()