PsiElement (@Nullable PsiElement e, NavBarModelExtension ownerExtension) { PsiElement originalElement = getOriginalElement(e); if (ownerExtension != null) { return originalElement != null ? ownerExtension.adjustElement(originalElement) : null; } return NavBarModel.normalize(originalElement); }