TargetPresentation (@NotNull PsiElement element, boolean hasDifferentNames) { GotoData dummyData = new GotoData(element, PsiElement.EMPTY_ARRAY, Collections.emptyList()); dummyData.hasDifferentNames = hasDifferentNames; PsiElementListCellRenderer<?> renderer = createRenderer(dummyData, element); return renderer == null ? null : renderer.computePresentation(element); }