private void createChangeList(LocalTask task, String name, @Nullable String comment) {
    ChangeListManager changeListManager = ChangeListManager.getInstance(myProject);
    LocalChangeList changeList = changeListManager.findChangeList(name);
    if (changeList == null) {
      changeList = changeListManager.addChangeList(name, comment);
    }
    else {
      final LocalTask associatedTask = getAssociatedTask(changeList);
      if (associatedTask != null) {
        associatedTask.removeChangelist(new ChangeListInfo(changeList));
      }
      changeListManager.editComment(name, comment);
    }
    task.addChangelist(new ChangeListInfo(changeList));
    changeListManager.setDefaultChangeList(changeList);
  }
private void createChangeList(LocalTask task, String name, @Nullable String comment)