void (@NotNull JList<? extends ScopeDescriptor> list, ScopeDescriptor value, int index, boolean selected, boolean hasFocus) { if (value == null) return; setIcon(value.getIcon()); setText(value.getDisplayName()); }