void (@NotNull JList list, TestDataNavigationElement element, int index, boolean selected, boolean hasFocus) { element.getTitleFragments().forEach(pair -> append(pair.getFirst(), pair.getSecond())); setIcon(element.getIcon()); }