Set<String> (@NotNull PsiModifierList modifierList, @NotNull final Set<String> modifiers) { // skip if no lombok library is present if (!hasLombokLibrary(modifierList.getProject())) { return modifiers; } // make copy of original modifiers Set<String> result = new HashSet<>(modifiers); // Loop through all available processors and give all of them a chance to respond for (ModifierProcessor processor : Holder.modifierProcessors) { if (processor.isSupported(modifierList)) { processor.transformModifiers(modifierList, result); } } return result; }