void (@NotNull Project project, Editor editor, PsiFile file, DataContext dataContext) { final PsiDirectory pyPackage = getPackageDir(file); if (pyPackage != null) { createModuleFromPackage(pyPackage); } }