void (@NotNull String maskToRemove) { Set<String> masks = new LinkedHashSet<>(myIgnoredPatterns.getIgnoreMasks()); masks.remove(maskToRemove); myIgnoredPatterns.clearPatterns(); for (String each : masks) { myIgnoredPatterns.addIgnoreMask(each); } }