void (@NotNull XFullValueEvaluator evaluator, @NotNull MouseEvent event, @NotNull Project project, @Nullable Editor editor) { if (evaluator instanceof CustomComponentEvaluator customComponentEvaluator) { customComponentEvaluator.show(event, project, editor); } else { EditorTextField textArea = createTextViewer(XDebuggerUIConstants.getEvaluatingExpressionMessage(), project); final FullValueEvaluationCallbackImpl callback = new FullValueEvaluationCallbackImpl(textArea); showValuePopup(event, project, editor, textArea, callback::setObsolete); evaluator.startEvaluation(callback); /*to make it really cancellable*/ } }