void (@NotNull final Project project, @NotNull final ProblemDescriptor descriptor) { PythonUiService.getInstance().showPopup(project, getBaseClassNames(), PyPsiBundle.message("INSP.pep8.ignore.base.class"), (selectedValue) -> InspectionProfileModifiableModelKt .modifyAndCommitProjectProfile(project, it -> { PyPep8NamingInspection inspection = (PyPep8NamingInspection)it .getUnwrappedTool(PyPep8NamingInspection.class.getSimpleName(), descriptor.getPsiElement()); ContainerUtil.addIfNotNull(inspection.ignoredBaseClasses, selectedValue); })); }