String (@NotNull Project project) { if (is33OrBetter) { return project.getDisplayName(); } if (project.getParent() == null && project.getGradle().getParent() == null) { return "root project '" + project.getName() + "'"; } return "project '" + project.getPath() + "'"; }