<commit_before>/*
 * Copyright (c) 2000-2004 by JetBrains s.r.o. All Rights Reserved.
 * Use is subject to license terms.
 */
package com.intellij.refactoring.openapi.impl;

import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiExpression;
import com.intellij.psi.PsiLocalVariable;
import com.intellij.psi.PsiMethod;
import com.intellij.psi.PsiType;
import com.intellij.refactoring.BaseRefactoringProcessor;
import com.intellij.refactoring.IntroduceParameterRefactoring;
import com.intellij.refactoring.RefactoringImpl;
import com.intellij.refactoring.introduceParameter.IntroduceParameterProcessor;

/**
 * @author dsl
 */
public class IntroduceParameterRefactoringImpl extends RefactoringImpl<IntroduceParameterProcessor>
  implements IntroduceParameterRefactoring {

  private IntroduceParameterRefactoringImpl(Project project,
                                            PsiMethod methodToReplaceIn,
                                            PsiMethod methodToSearchFor,
                                            String parameterName, PsiExpression parameterInitializer,
                                            PsiExpression expressionToSearch, PsiLocalVariable localVariable,
                                            boolean removeLocalVariable, boolean declareFinal, final boolean replaceAllOccurences) {<commit_msg>Well, hopefully fixed transforming code fragments' chameleons<commit_after>/*
 * Copyright (c) 2000-2004 by JetBrains s.r.o. All Rights Reserved.
 * Use is subject to license terms.
 */
package com.intellij.refactoring.openapi.impl;

import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiExpression;
import com.intellij.psi.PsiLocalVariable;
import com.intellij.psi.PsiMethod;
import com.intellij.psi.PsiType;
import com.intellij.refactoring.IntroduceParameterRefactoring;
import com.intellij.refactoring.RefactoringImpl;
import com.intellij.refactoring.introduceParameter.IntroduceParameterProcessor;

/**
 * @author dsl
 */
public class IntroduceParameterRefactoringImpl extends RefactoringImpl<IntroduceParameterProcessor>
  implements IntroduceParameterRefactoring {

  private IntroduceParameterRefactoringImpl(Project project,
                                            PsiMethod methodToReplaceIn,
                                            PsiMethod methodToSearchFor,
                                            String parameterName, PsiExpression parameterInitializer,
                                            PsiExpression expressionToSearch, PsiLocalVariable localVariable,
                                            boolean removeLocalVariable, boolean declareFinal, final boolean replaceAllOccurences) {
{'fraction_non_alphanumeric': 0.060178306092124816, 'fraction_numerical': 0.005943536404160475, 'mean_word_length': 2.847142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1093059', 'n_tokens_mistral': 673, 'n_tokens_neox': 649, 'n_words': 138}