void (@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) { if (value instanceof ItemWrapper wrapper) { wrapper.setupRenderer(this, myProject, selected); if (myAccessory != null) { wrapper.updateAccessoryView(myAccessory); } } }