Program: 12036
Project: 12036
Buggy source:
public MoveMethodRefactoring(CompilationUnit sourceCompilationUnit,CompilationUnit targetCompilationUnit,TypeDeclaration sourceTypeDeclaration,TypeDeclaration targetTypeDeclaration,MethodDeclaration sourceMethod,Map<MethodInvocation,MethodDeclaration> additionalMethodsToBeMoved,boolean leaveDelegate,String movedMethodName){
  this.sourceCompilationUnit=sourceCompilationUnit;
  this.targetCompilationUnit=targetCompilationUnit;
  this.sourceTypeDeclaration=sourceTypeDeclaration;
  this.targetTypeDeclaration=targetTypeDeclaration;
  this.sourceMethod=sourceMethod;
  this.targetClassVariableName=null;
  this.additionalArgumentsAddedToMovedMethod=new LinkedHashSet<String>();
  this.additionalTypeBindingsToBeImportedInTargetClass=new LinkedHashSet<ITypeBinding>();
  this.additionalMethodsToBeMoved=additionalMethodsToBeMoved;
  this.fieldDeclarationsChangedWithPublicModifier=new LinkedHashSet<FieldDeclaration>();
  this.leaveDelegate=leaveDelegate;
  this.movedMethodName=movedMethodName;
  this.isTargetClassVariableParameter=false;
  this.targetClassVariableParameterIndex=-1;
  this.fChanges=new LinkedHashMap<ICompilationUnit,CompilationUnitChange>();
  ICompilationUnit sourceICompilationUnit=(ICompilationUnit)sourceCompilationUnit.getJavaElement();
  this.sourceMultiTextEdit=new MultiTextEdit();
  this.sourceCompilationUnitChange=new CompilationUnitChange("String_Node_Str",sourceICompilationUnit);
  sourceCompilationUnitChange.setEdit(sourceMultiTextEdit);
  fChanges.put(sourceICompilationUnit,sourceCompilationUnitChange);
  ICompilationUnit targetICompilationUnit=(ICompilationUnit)targetCompilationUnit.getJavaElement();
  if (sourceICompilationUnit.equals(targetICompilationUnit)) {
    this.targetMultiTextEdit=sourceMultiTextEdit;
    this.targetCompilationUnitChange=sourceCompilationUnitChange;
  }
 else {
    this.targetMultiTextEdit=new MultiTextEdit();
    this.targetCompilationUnitChange=new CompilationUnitChange("String_Node_Str",targetICompilationUnit);
    targetCompilationUnitChange.setEdit(targetMultiTextEdit);
    fChanges.put(targetICompilationUnit,targetCompilationUnitChange);
  }
}

Fixed version (ground truth):
public MoveMethodRefactoring(CompilationUnit sourceCompilationUnit,CompilationUnit targetCompilationUnit,TypeDeclaration sourceTypeDeclaration,TypeDeclaration targetTypeDeclaration,MethodDeclaration sourceMethod,Map<MethodInvocation,MethodDeclaration> additionalMethodsToBeMoved,boolean leaveDelegate,String movedMethodName){
  this.sourceCompilationUnit=sourceCompilationUnit;
  this.targetCompilationUnit=targetCompilationUnit;
  this.sourceTypeDeclaration=sourceTypeDeclaration;
  this.targetTypeDeclaration=targetTypeDeclaration;
  this.sourceMethod=sourceMethod;
  this.targetClassVariableName=null;
  this.additionalArgumentsAddedToMovedMethod=new LinkedHashSet<String>();
  this.additionalTypeBindingsToBeImportedInTargetClass=new LinkedHashSet<ITypeBinding>();
  this.additionalMethodsToBeMoved=additionalMethodsToBeMoved;
  this.fieldDeclarationsChangedWithPublicModifier=new LinkedHashSet<FieldDeclaration>();
  this.memberTypeDeclarationsChangedWithPublicModifier=new LinkedHashSet<BodyDeclaration>();
  this.leaveDelegate=leaveDelegate;
  this.movedMethodName=movedMethodName;
  this.isTargetClassVariableParameter=false;
  this.targetClassVariableParameterIndex=-1;
  this.fChanges=new LinkedHashMap<ICompilationUnit,CompilationUnitChange>();
  ICompilationUnit sourceICompilationUnit=(ICompilationUnit)sourceCompilationUnit.getJavaElement();
  this.sourceMultiTextEdit=new MultiTextEdit();
  this.sourceCompilationUnitChange=new CompilationUnitChange("String_Node_Str",sourceICompilationUnit);
  sourceCompilationUnitChange.setEdit(sourceMultiTextEdit);
  fChanges.put(sourceICompilationUnit,sourceCompilationUnitChange);
  ICompilationUnit targetICompilationUnit=(ICompilationUnit)targetCompilationUnit.getJavaElement();
  if (sourceICompilationUnit.equals(targetICompilationUnit)) {
    this.targetMultiTextEdit=sourceMultiTextEdit;
    this.targetCompilationUnitChange=sourceCompilationUnitChange;
  }
 else {
    this.targetMultiTextEdit=new MultiTextEdit();
    this.targetCompilationUnitChange=new CompilationUnitChange("String_Node_Str",targetICompilationUnit);
    targetCompilationUnitChange.setEdit(targetMultiTextEdit);
    fChanges.put(targetICompilationUnit,targetCompilationUnitChange);
  }
}