Component ( JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus ) { super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); if (value instanceof KtNamedDeclaration variable) { setIcon(KotlinIconProvider.Companion.getBaseIcon(variable)); setText(variable.getName()); KotlinType type = MoveKotlinMethodProcessorKt.type(variable); if (type != null) { @NlsSafe String renderType = renderer.renderType(type); setText(getText() + ": " + renderType); } } return this; }