LightEditFilePatterns (@NotNull String patternString) { List<String> filePatterns = new ArrayList<>(); for (String pattern : patternString.split(PATTERN_SEPARATOR)) { if (!StringUtil.isEmptyOrSpaces(pattern)) { filePatterns.add(pattern); } } return new LightEditFilePatterns(filePatterns); }