private static void copyQualifierIfNotReplaced(PsiMethodCallExpression originalCall,
                                                 PsiMethodCallExpression patternCall,
                                                 PsiMethodCallExpression replacementCall) {
    PsiExpression qualifier = originalCall.getMethodExpression().getQualifierExpression();
    if (qualifier == null) {
      return;
    }
    PsiReferenceExpression referenceExpression = replacementCall.getMethodExpression();
    if (patternCall.getMethodExpression().getQualifierExpression() != null ||
        referenceExpression.getQualifierExpression() != null) {
      return;
    }
    referenceExpression.setQualifierExpression(qualifier);
  }
private static void copyQualifierIfNotReplaced(PsiMethodCallExpression originalCall,
                                                 PsiMethodCallExpression patternCall,
                                                 PsiMethodCallExpression replacementCall)