PopupStep (final AnnotationProvider selectedValue, final boolean finalChoice) { return doFinalStep(() -> ReadAction.nonBlocking(() -> selectedValue.createFix(owner, place)) .finishOnUiThread(ModalityState.current(), fix -> fix.invoke(project, editor, file)) .submit(AppExecutorUtil.getAppExecutorService())); }