private List<FileSetDescriptor> getDescriptors() {
    String patternsText = myPatternsField.getText();
    return toStringList(patternsText).stream()
                                     .sorted()
                                     .map(s -> new GlobPatternDescriptor(s)).collect(Collectors.toList());
  }
private List<FileSetDescriptor> getDescriptors()