ModCommand (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { final PsiModifierList modifierList = getModifierList(descriptor); return ModCommand.psiUpdate(modifierList, m -> m.setModifierProperty(myModifier, myDoSet)); }