void (Object selected) { if (selected instanceof IntentionActionMetaData actionMetaData) { Runnable runnable = () -> { intentionSelected(actionMetaData); if (myDetailsComponent != null) { String[] text = ArrayUtil.append(actionMetaData.myCategory, actionMetaData.getFamily()); myDetailsComponent.setText(text); } }; myResetAlarm.cancelAllRequests(); myResetAlarm.addRequest(runnable, 100); } else { categorySelected((String)selected); if (myDetailsComponent != null) { myDetailsComponent.setText((String)selected); } } }