void (@NotNull JList<? extends VirtualFile> list, VirtualFile file, int index, boolean selected, boolean focused) { LOG.assertTrue(file != null); String text = file.getPresentableUrl(); append(text, file.isValid() ? SimpleTextAttributes.REGULAR_ATTRIBUTES : SimpleTextAttributes.ERROR_ATTRIBUTES); setIcon(getItemIcon(file)); }