void (@NotNull JComponent component) { installHintUpdateSupply(component, o -> o instanceof PsiElement ? (PsiElement)o : CommonDataKeys.PSI_ELEMENT.getData(DataManager.getInstance().getDataContext(component))); }