Program: 124450
Project: 124450
Buggy source:
private String configureEvaluation(Class<?> interface1,Class<?> scriptHelperClass,CtMethod method,String body,CtClass returnType) throws NotFoundException {
  if (!typeIsEqual(returnType,Void.class) && !typeIsEqual(returnType,void.class)) {
    if (typeIsEqual(returnType,Boolean.class) || typeIsEqual(returnType,boolean.class))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClass.getName() + "String_Node_Str");
 else     if (typeIsEqual(returnType,Integer.class) || typeIsEqual(returnType,int.class) || typeIsEqual(returnType,Short.class)|| typeIsEqual(returnType,short.class))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClass.getName() + "String_Node_Str");
 else     if (typeIsEqual(returnType,Double.class) || typeIsEqual(returnType,double.class))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClass.getName() + "String_Node_Str");
 else     if (typeIsEqual(returnType,Float.class) || typeIsEqual(returnType,float.class))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClass.getName() + "String_Node_Str");
 else     if (typeIsEqual(returnType,String.class))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClass.getName() + "String_Node_Str");
 else     body=createBodyForReference(interface1,scriptHelperClass,method,body,returnType);
  }
 else   body=body.replace("String_Node_Str",scriptHelperClass.getName() + "String_Node_Str");
  return body;
}

Fixed version (ground truth):
private String configureEvaluation(Class<?> interface1,Class<?> scriptHelperClass,CtMethod method,String body,CtClass returnType) throws NotFoundException {
  String scriptHelperClassname=scriptHelperClass.getName();
  String returnTypeName=returnType.getName();
  if (!returnTypeName.equals(Void.class.getName()) && !returnTypeName.equals(void.class.getName())) {
    if (returnTypeName.equals(Boolean.class.getName()) || returnTypeName.equals(boolean.class.getName()))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClassname + "String_Node_Str");
 else     if (returnTypeName.equals(Integer.class.getName()) || returnTypeName.equals(int.class.getName()) || returnTypeName.equals(Short.class.getName())|| returnTypeName.equals(short.class.getName()))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClassname + "String_Node_Str");
 else     if (returnTypeName.equals(Double.class.getName()) || returnTypeName.equals(double.class.getName()))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClassname + "String_Node_Str");
 else     if (returnTypeName.equals(Float.class.getName()) || returnTypeName.equals(float.class.getName()))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClassname + "String_Node_Str");
 else     if (returnTypeName.equals(String.class.getName()))     body=body.replace("String_Node_Str","String_Node_Str" + scriptHelperClassname + "String_Node_Str");
 else     body=createBodyForReference(interface1,scriptHelperClass,method,body,returnType);
  }
 else   body=body.replace("String_Node_Str",scriptHelperClassname + "String_Node_Str");
  return body;
}