ImportPriority (@NotNull PsiElement importLocation, @NotNull PsiFileSystemItem toImport) { final ImportPriorityChoice choice = getImportPriorityWithReason(importLocation, toImport); LOG.debug(String.format("Import group for %s at %s is %s: %s", toImport, importLocation.getContainingFile(), choice.myPriority, choice.myDescription)); return choice.myPriority; }