void (@NotNull List<String> patterns) { for (String pattern : myExcludePatterns) { myModule.removeExcludePattern(getUrl(), pattern); } myExcludePatterns.clear(); for (String pattern : patterns) { addExcludePattern(pattern); } }