ImportPriority (@NotNull PyImportStatementBase importStatement) { final ImportPriorityChoice choice = getImportPriorityWithReason(importStatement); LOG.debug(String.format("Import group for '%s' is %s: %s", importStatement.getText(), choice.myPriority, choice.myDescription)); return choice.myPriority; }