Project () { Project project = myProjectOrNull != null ? myProjectOrNull : ArrayUtil.getFirstElement(ProjectManager.getInstance().getOpenProjects()); return project == null ? ProjectManager.getInstance().getDefaultProject() : project; }