public void resolve(boolean varargs) throws IncorrectOperationException {
    resolveOldReferences(myExpr, myParameterInitializer, varargs);

    Set<Map.Entry<PsiExpression, String>> mappingsSet = myTempVars.entrySet();

    PsiElementFactory factory = JavaPsiFacade.getElementFactory(myProject);

    replaceOldRefWithNew(mappingsSet, factory);
  }
public void resolve(boolean varargs)