Program: 97915
Project: 97915
Buggy source:
@SuppressWarnings("String_Node_Str") public MetaField processToOne(DboTableMeta t,Field field,String colNameOrig){
  String colName=field.getName();
  if (!"String_Node_Str".equals(colNameOrig))   colName=colNameOrig;
  boolean isIndexed=false;
  if (field.isAnnotationPresent(NoSqlIndexed.class))   isIndexed=true;
  boolean isPartitionedBy=false;
  if (field.isAnnotationPresent(NoSqlPartitionByThisField.class))   isPartitionedBy=true;
  Class<?> theSuperclass=null;
  Class<?> type=field.getType();
  if (!field.getType().isAnnotationPresent(NoSqlEntity.class) && field.getType() != ToOneProvider.class) {
    if (!field.getType().isAnnotationPresent(NoSqlDiscriminatorColumn.class))     throw new RuntimeException("String_Node_Str" + field.getType() + "String_Node_Str"+ "String_Node_Str"+ field.getDeclaringClass().getName()+ "String_Node_Str"+ field.getName());
    theSuperclass=findSuperclassWithNoSqlEntity(field.getType());
    type=theSuperclass;
    if (log.isDebugEnabled())     log.debug("String_Node_Str" + theSuperclass);
    if (theSuperclass == null)     throw new RuntimeException("String_Node_Str" + field.getType() + "String_Node_Str"+ "String_Node_Str");
    NoSqlInheritance anno=theSuperclass.getAnnotation(NoSqlInheritance.class);
    if (anno == null)     throw new RuntimeException("String_Node_Str" + field.getType() + "String_Node_Str"+ "String_Node_Str");
 else     if (!classExistsInList(anno,field.getType()))     throw new RuntimeException("String_Node_Str" + field.getType() + "String_Node_Str"+ "String_Node_Str");
  }
 else   if (field.getType().isAnnotationPresent(NoSqlInheritance.class)) {
    throw new IllegalArgumentException("String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str" + field + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
  }
 else   if (field.getType() == ToOneProvider.class) {
    ParameterizedType genType=(ParameterizedType)field.getGenericType();
    type=(Class)genType.getActualTypeArguments()[0];
  }
  MetaProxyField metaField=metaProxyProvider.get();
  MetaAbstractClass<?> classMeta=metaInfo.findOrCreate(type);
  if (theSuperclass != null) {
    MetaClassInheritance meta=(MetaClassInheritance)classMeta;
    classMeta=meta.findOrCreate(field.getType(),theSuperclass);
  }
  metaField.setup(t,field,colName,classMeta,isIndexed,isPartitionedBy);
  return metaField;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public MetaField processToOne(DboTableMeta t,Field field,String colNameOrig){
  String colName=field.getName();
  if (!"String_Node_Str".equals(colNameOrig))   colName=colNameOrig;
  boolean isIndexed=false;
  if (field.isAnnotationPresent(NoSqlIndexed.class))   isIndexed=true;
  boolean isPartitionedBy=false;
  if (field.isAnnotationPresent(NoSqlPartitionByThisField.class))   isPartitionedBy=true;
  Class<?> theSuperclass=null;
  Class<?> type=field.getType();
  if (!field.getType().isAnnotationPresent(NoSqlEntity.class) && field.getType() != ToOneProvider.class) {
    if (!field.getType().isAnnotationPresent(NoSqlDiscriminatorColumn.class))     throw new RuntimeException("String_Node_Str" + field.getType() + "String_Node_Str"+ "String_Node_Str"+ field.getDeclaringClass().getName()+ "String_Node_Str"+ field.getName());
    theSuperclass=findSuperclassWithNoSqlEntity(field.getType());
    runOtherSuperclassChecks(field.getType(),field,theSuperclass);
  }
 else   if (field.getType().isAnnotationPresent(NoSqlInheritance.class)) {
    throw new IllegalArgumentException("String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str" + field + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
  }
 else   if (field.getType() == ToOneProvider.class) {
    ParameterizedType genType=(ParameterizedType)field.getGenericType();
    type=(Class)genType.getActualTypeArguments()[0];
  }
  MetaProxyField metaField=metaProxyProvider.get();
  MetaAbstractClass<?> classMeta=metaInfo.findOrCreate(type);
  if (theSuperclass != null) {
    MetaClassInheritance meta=(MetaClassInheritance)classMeta;
    classMeta=meta.findOrCreate(field.getType(),theSuperclass);
  }
  metaField.setup(t,field,colName,classMeta,isIndexed,isPartitionedBy);
  return metaField;
}