void (@NotNull final Project project, @NotNull ProblemDescriptor descriptor) { final PsiElement element = descriptor.getPsiElement(); if (element == null) return; final Module module = guessModule(element); if (module == null) return; PySdkPopupFactory.Companion.createAndShow(project, module); }