Program: 104915
Project: 104915
Buggy source:
public MappedClass(Class clazz){
  this.clazz=clazz;
  for (  Class<Annotation> c : interestingAnnotations) {
    addAnnotation(c);
  }
  embeddedAn=ReflectionUtils.getClassEmbeddedAnnotation(clazz);
  entityAn=ReflectionUtils.getClassEntityAnnotation(clazz);
  defCollName=(entityAn == null || entityAn.value().equals(Mapper.IGNORED_FIELDNAME)) ? clazz.getSimpleName() : entityAn.value();
  for (  Field field : ReflectionUtils.getDeclaredAndInheritedFields(clazz,false)) {
    if (field.isAnnotationPresent(Id.class)) {
      idField=field;
      persistenceFields.add(new MappedField(field));
    }
 else     if (field.isAnnotationPresent(Transient.class)) {
      continue;
    }
 else     if (field.isAnnotationPresent(CollectionName.class)) {
      collectionNameField=field;
      persistenceFields.add(new MappedField(field));
    }
 else     if (field.isAnnotationPresent(Property.class) || field.isAnnotationPresent(Reference.class) || field.isAnnotationPresent(Embedded.class)|| isSupportedType(field.getType())) {
      persistenceFields.add(new MappedField(field));
    }
 else {
      logger.warning("String_Node_Str" + clazz.getName() + "String_Node_Str"+ field.getName()+ "String_Node_Str"+ field.getType().getSimpleName()+ "String_Node_Str");
    }
  }
}

Fixed version (ground truth):
/** 
 * constructor 
 */
public MappedClass(Class clazz){
  this.clazz=clazz;
  for (  Class<Annotation> c : classAnnotations) {
    addAnnotation(c);
  }
  for (  Method m : ReflectionUtils.getDeclaredAndInheritedMethods(clazz)) {
    Class<? extends Annotation> lifecycleType;
    if (m.isAnnotationPresent(PrePersist.class))     lifecycleType=PrePersist.class;
 else     if (m.isAnnotationPresent(PostPersist.class))     lifecycleType=PostPersist.class;
 else     if (m.isAnnotationPresent(PreLoad.class))     lifecycleType=PreLoad.class;
 else     if (m.isAnnotationPresent(PostLoad.class))     lifecycleType=PostLoad.class;
 else     continue;
    addLifecycleEventMethod((Class<Annotation>)lifecycleType,m);
  }
  embeddedAn=(Embedded)this.releventAnnotations.get(Embedded.class);
  entityAn=(Entity)this.releventAnnotations.get(Entity.class);
  defCollName=(entityAn == null || entityAn.value().equals(Mapper.IGNORED_FIELDNAME)) ? clazz.getSimpleName() : entityAn.value();
  for (  Field field : ReflectionUtils.getDeclaredAndInheritedFields(clazz,false)) {
    if (field.isAnnotationPresent(Id.class)) {
      idField=field;
      persistenceFields.add(new MappedField(field));
    }
 else     if (field.isAnnotationPresent(Transient.class)) {
      continue;
    }
 else     if (field.isAnnotationPresent(CollectionName.class)) {
      collectionNameField=field;
      persistenceFields.add(new MappedField(field));
    }
 else     if (field.isAnnotationPresent(Property.class) || field.isAnnotationPresent(Reference.class) || field.isAnnotationPresent(Embedded.class)|| isSupportedType(field.getType())) {
      persistenceFields.add(new MappedField(field));
    }
 else {
      logger.warning("String_Node_Str" + clazz.getName() + "String_Node_Str"+ field.getName()+ "String_Node_Str"+ field.getType().getSimpleName()+ "String_Node_Str");
    }
  }
}