IntroduceVariableOptions (XPathExpression expression, Set<XPathExpression> matchingExpressions) { final IntroduceVariableDialog dlg = new IntroduceVariableDialog(expression, matchingExpressions.size() + 1); dlg.show(); return dlg; }