ItemPresentation () { return new ItemPresentation() { @Override public String getPresentableText() { return myName; } @Override public @Nullable String getLocationString() { PsiFile psiFile = PsiManager.getInstance(myProject).findFile(myFile); return psiFile != null ? "(" + SymbolPresentationUtil.getFilePathPresentation(psiFile) + ")" : null; } @Override public Icon getIcon(boolean unused) { return AllIcons.Xml.Html_id; } }; }