Iterable<LocalQuickFix> (PsiElement element) { PyImportStatementBase importStatementBase = PsiTreeUtil.getParentOfType(element, PyImportStatementBase.class); if ((importStatementBase != null) && GenerateBinaryStubsFix.isApplicable(importStatementBase)) { return GenerateBinaryStubsFix.generateFixes(importStatementBase); } return Collections.emptyList(); }