void (IntroduceOperation operation, Editor editor, List<PyExpression> expressions, Consumer<? super IntroduceOperation> callback) { IntroduceTargetChooser.showChooser(editor, expressions, new Pass<>() { @Override public void pass(PyExpression pyExpression) { operation.setElement(pyExpression); callback.accept(operation); } }, pyExpression -> pyExpression.getText()); }