Program: 19544
Project: 19544
Buggy source:
protected void processAttribute(SourceUtils.BeanProperty beanProperty,PropertyBase attribute){
  attribute.setType(beanProperty.getType());
  AnnotationMirror attributeAnnotarion=beanProperty.getAnnotationMirror(Attribute.class);
  if (attributeAnnotarion == null) {
    attribute.setGenerate(!beanProperty.isExists());
    attribute.setDescription(beanProperty.getDocComment());
    attribute.setHidden(true);
    if (attribute.getType().isPrimitive()) {
      String value=getPimitiveDefaultValue(attribute.getType().getName());
      if (value != null) {
        attribute.setDefaultValue(value);
      }
    }
  }
 else {
    SourceUtils utils=utilsProvider.get();
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    descriptionProcessor.processDescription(attribute,beanProperty.getAnnotation(Attribute.class).description(),beanProperty.getDocComment());
    setDefaultValue(attribute,attributeAnnotarion);
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    attribute.setSignature(getSignature(attributeAnnotarion));
    for (    AnnotationMirror event : utils.getAnnotationValues(attributeAnnotarion,"String_Node_Str",AnnotationMirror.class)) {
      setBehaviorEvent(attribute,event);
    }
  }
}

Fixed version (ground truth):
protected void processAttribute(SourceUtils.BeanProperty beanProperty,PropertyBase attribute){
  attribute.setType(beanProperty.getType());
  AnnotationMirror attributeAnnotarion=beanProperty.getAnnotationMirror(Attribute.class);
  if (attributeAnnotarion == null) {
    attribute.setGenerate(!beanProperty.isExists());
    attribute.setDescription(beanProperty.getDocComment());
    attribute.setHidden(true);
    if (attribute.getType().isPrimitive()) {
      String value=getPimitiveDefaultValue(attribute.getType().getName());
      if (value != null) {
        attribute.setDefaultValue(value);
      }
    }
  }
 else {
    SourceUtils utils=utilsProvider.get();
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    if (!utils.isDefaultValue(attributeAnnotarion,"String_Node_Str")) {
      attribute.setGenerate(utils.getAnnotationValue(attributeAnnotarion,"String_Node_Str",boolean.class));
    }
 else {
      attribute.setGenerate(!beanProperty.isExists());
    }
    descriptionProcessor.processDescription(attribute,beanProperty.getAnnotation(Attribute.class).description(),beanProperty.getDocComment());
    setDefaultValue(attribute,attributeAnnotarion);
    utils.setModelProperty(attribute,attributeAnnotarion,"String_Node_Str");
    attribute.setSignature(getSignature(attributeAnnotarion));
    for (    AnnotationMirror event : utils.getAnnotationValues(attributeAnnotarion,"String_Node_Str",AnnotationMirror.class)) {
      setBehaviorEvent(attribute,event);
    }
  }
}