void (LookupElement element, LookupElementRenderer renderer) { LookupElementPresentation presentation = new LookupElementPresentation(); DumbModeAccessType.RELIABLE_DATA_ONLY.ignoreDumbMode(() -> { renderer.renderElement(element, presentation); }); presentation.freeze(); rememberPresentation(element, presentation); myLookup.myCellRenderer.scheduleUpdateLookupWidthFromVisibleItems(); }