ChangeListManager (@NotNull Project project) { if (project.isDefault()) throw new IllegalArgumentException("Can't create ChangeListManager for default project"); return project.getService(ChangeListManager.class); }