void (@NotNull Project project, PsiElement @NotNull [] elements, DataContext dataContext) { if (elements.length == 1) { final PsiDirectory pyPackage = getPackageDir(elements[0]); if (pyPackage != null) { createModuleFromPackage(pyPackage); } } }