void (Project project, @NotNull DefaultActionGroup group, @NotNull DataContext dataContext) { final ProjectInspectionProfileManager projectProfileManager = ProjectInspectionProfileManager.getInstance(project); InspectionProfile current = projectProfileManager.getCurrentProfile(); for (InspectionProfile profile : projectProfileManager.getProfiles()) { addScheme(group, projectProfileManager, current, profile); } }