GrVariable (@NotNull final GrIntroduceContext context, @NotNull GroovyIntroduceVariableSettings settings, @NotNull GrVariableDeclaration varDecl, PsiElement @NotNull [] elements, @NotNull GrExpression expression, boolean processUsages) { return new GrIntroduceLocalVariableProcessor(context, settings, elements, expression, processUsages) { @Override protected void refreshPositionMarker(PsiElement e) { GrIntroduceVariableHandler.this.refreshPositionMarker(context.getEditor().getDocument().createRangeMarker(e.getTextRange())); } }.processExpression(varDecl); }