Program: 26882
Project: 26882
Buggy source:
public static CodeBlock.Builder getContentValuesStatement(String elementName,String fullElementName,String columnName,TypeName elementTypeName,boolean isModelContainerAdapter,BaseColumnAccess columnAccess,String variableNameString){
  String statement=columnAccess.getColumnAccessString(elementTypeName,elementName,fullElementName,variableNameString,isModelContainerAdapter);
  CodeBlock.Builder codeBuilder=CodeBlock.builder();
  String finalAccessStatement=statement;
  if (columnAccess instanceof TypeConverterAccess || isModelContainerAdapter) {
    finalAccessStatement=(isModelContainerAdapter ? (variableNameString + elementName) : ("String_Node_Str" + fullElementName));
    TypeName typeName;
    if (columnAccess instanceof TypeConverterAccess) {
      typeName=((TypeConverterAccess)columnAccess).typeConverterDefinition.getDbTypeName();
    }
 else     if (columnAccess instanceof EnumColumnAccess) {
      typeName=ClassName.get(String.class);
    }
 else {
      typeName=elementTypeName;
    }
    codeBuilder.addStatement("String_Node_Str",typeName,finalAccessStatement,statement);
  }
  if (!elementTypeName.isPrimitive()) {
    codeBuilder.beginControlFlow("String_Node_Str",finalAccessStatement);
  }
  codeBuilder.addStatement("String_Node_Str",BindToContentValuesMethod.PARAM_CONTENT_VALUES,QueryBuilder.quote(columnName),finalAccessStatement);
  if (!elementTypeName.isPrimitive()) {
    codeBuilder.nextControlFlow("String_Node_Str").addStatement("String_Node_Str",BindToContentValuesMethod.PARAM_CONTENT_VALUES,QueryBuilder.quote(columnName)).endControlFlow();
  }
  return codeBuilder;
}

Fixed version (ground truth):
public static CodeBlock.Builder getContentValuesStatement(String elementName,String fullElementName,String columnName,TypeName elementTypeName,boolean isModelContainerAdapter,BaseColumnAccess columnAccess,String variableNameString){
  String statement=columnAccess.getColumnAccessString(elementTypeName,elementName,fullElementName,variableNameString,isModelContainerAdapter);
  CodeBlock.Builder codeBuilder=CodeBlock.builder();
  String finalAccessStatement=statement;
  if (columnAccess instanceof TypeConverterAccess || isModelContainerAdapter) {
    finalAccessStatement=(isModelContainerAdapter ? (variableNameString + elementName) : ("String_Node_Str" + fullElementName));
    TypeName typeName;
    if (columnAccess instanceof TypeConverterAccess) {
      typeName=((TypeConverterAccess)columnAccess).typeConverterDefinition.getDbTypeName();
    }
 else     if (columnAccess instanceof EnumColumnAccess) {
      typeName=ClassName.get(String.class);
    }
 else     if (columnAccess instanceof BlobColumnAccess) {
      typeName=ArrayTypeName.of(TypeName.BYTE);
    }
 else {
      typeName=elementTypeName;
    }
    codeBuilder.addStatement("String_Node_Str",typeName,finalAccessStatement,statement);
  }
  if (!elementTypeName.isPrimitive()) {
    codeBuilder.beginControlFlow("String_Node_Str",finalAccessStatement);
  }
  codeBuilder.addStatement("String_Node_Str",BindToContentValuesMethod.PARAM_CONTENT_VALUES,QueryBuilder.quote(columnName),finalAccessStatement);
  if (!elementTypeName.isPrimitive()) {
    codeBuilder.nextControlFlow("String_Node_Str").addStatement("String_Node_Str",BindToContentValuesMethod.PARAM_CONTENT_VALUES,QueryBuilder.quote(columnName)).endControlFlow();
  }
  return codeBuilder;
}