private void analyzeImports(@NotNull List<PyImportStatementBase> imports) {
      for (PyImportStatementBase statement : imports) {
        final PyFromImportStatement fromImport = as(statement, PyFromImportStatement.class);
        if (fromImport != null && !fromImport.isStarImport()) {
          myOldFromImportBySources.putValue(getNormalizedFromImportSource(fromImport), fromImport);
        }
        final Couple<List<PsiComment>> boundAndOthers = collectPrecedingLineComments(statement);
        myOldImportToLineComments.putValues(statement, boundAndOthers.getFirst());
        if (statement != myImportBlock.get(0)) {
          myDanglingComments.addAll(boundAndOthers.getSecond());
        }
        myOldImportToInnerComments.putValues(statement, PsiTreeUtil.collectElementsOfType(statement, PsiComment.class));
      }
    }
private void analyzeImports(@NotNull List<PyImportStatementBase> imports)