Collection<PsiFileSystemItem> (@NotNull PsiFile file) { final PsiElement context = file.getContext(); if (context != null) file = context.getContainingFile(); Collection<PsiFileSystemItem> folders = getIncludingFileContexts(file); if (folders != null) return folders; return getContextByFileSystemItem(file.getOriginalFile()); }