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