void (int relativeLevel, @Nullable InsertHandler<LookupElement> insertHandler) { if (relativeLevel < 0 && ResolveImportUtil.isAbsoluteImportEnabledFor(myCurrentFile)) return; final PsiDirectory containingDirectory = myCurrentFile.getContainingDirectory(); if (containingDirectory != null) { QualifiedName thisQName = QualifiedNameFinder.findShortestImportableQName(containingDirectory); if (thisQName == null || thisQName.getComponentCount() == relativeLevel) { fillFromDir(ResolveImportUtil.stepBackFrom(myCurrentFile, relativeLevel), insertHandler); } else if (thisQName.getComponentCount() > relativeLevel) { thisQName = thisQName.removeTail(relativeLevel); fillFromQName(thisQName, insertHandler); } } }