void () { Project[] projects = ProjectManager.getInstance().getOpenProjects(); for (Project project : projects) { getInstance(project).updateAllNotifications(); } Project lightEditProject = LightEditService.getInstance().getProject(); if (lightEditProject != null) { getInstance(lightEditProject).updateAllNotifications(); } }