void (@NotNull JList<? extends FileDescriptor> list, FileDescriptor value, int index, boolean selected, boolean hasFocus) { setBackground(UIUtil.getListBackground(selected, true)); if (value != null) { @NotNull TargetPresentation targetPresentation = value.element; setIcon(getIconForFile(value.file, project)); append(targetPresentation.getPresentableText()); String presentation = targetPresentation.getContainerText(); if (presentation != null) { append(" "); append(StringUtil.trimStart(StringUtil.trimEnd(presentation, ")"), "("), SimpleTextAttributes.GRAYED_ATTRIBUTES); } } }