void (@NotNull List<PyImportStatementBase> result, @NotNull PyImportStatement importStatement) { final PyImportElement[] importElements = importStatement.getImportElements(); // Split combined imports like "import foo, bar as b" if (importElements.length > 1) { final List<PyImportStatement> newImports = ContainerUtil.map(importElements, e -> myGenerator.createImportStatement(myLangLevel, e.getText(), null)); replaceOneImportWithSeveral(result, importStatement, newImports); } else { addImportAsIs(result, importStatement); } }