Program: 177978
Project: 177978
Buggy source:
/** 
 * Constructor.
 * @param bean  the bean generator
 * @param content  the lines, not null
 * @param lineIndex  the index of a PropertyDefinition
 * @param derived  true if derived
 */
public PropertyGen(BeanGen bean,List<String> content,int lineIndex,boolean derived){
  this.bean=bean;
  this.annotationIndex=parseAnnotationStart(content,lineIndex);
  this.fieldIndex=parseCodeIndex(content);
  GeneratableProperty prop=new GeneratableProperty(bean.getData(),bean.getConfig());
  if (derived) {
    prop.setGetStyle("String_Node_Str");
    prop.setSetStyle("String_Node_Str");
    prop.setTypeStyle("String_Node_Str");
    prop.setDeprecated(parseDeprecated(content));
    prop.setPropertyName(parseMethodNameAsPropertyName(content));
    prop.setUpperName(makeUpperName(prop.getPropertyName()));
    prop.setFieldType(parseMethodType(content));
  }
 else {
    prop.setGetStyle(parseGetStyle(content));
    prop.setSetStyle(parseSetStyle(content));
    prop.setTypeStyle(parseTypeStyle(content));
    prop.setValidation(parseValidation(content));
    prop.setDeprecated(parseDeprecated(content));
    prop.setFieldName(parseFieldName(content));
    prop.setPropertyName(makePropertyName(bean,prop.getFieldName()));
    prop.setUpperName(makeUpperName(prop.getPropertyName()));
    prop.setFinal(parseFinal(content));
    prop.setFieldType(parseFieldType(content));
  }
  prop.resolveType();
  prop.resolveGetterGen();
  prop.resolveSetterGen();
  prop.resolveCopyGen();
  prop.resolveBuilderGen();
  List<String> comments=parseComment(content,prop.getPropertyName());
  prop.setFirstComment(comments.get(0));
  prop.getComments().addAll(comments.subList(1,comments.size()));
  this.data=prop;
}

Fixed version (ground truth):
/** 
 * Constructor.
 * @param bean  the bean generator
 * @param content  the lines, not null
 * @param lineIndex  the index of a PropertyDefinition
 * @param derived  true if derived
 */
public PropertyGen(BeanGen bean,List<String> content,int lineIndex,boolean derived){
  this.bean=bean;
  this.propertyIndex=lineIndex;
  this.annotationIndex=parseAnnotationStart(content,lineIndex);
  this.fieldIndex=parseCodeIndex(content);
  GeneratableProperty prop=new GeneratableProperty(bean.getData(),bean.getConfig());
  if (derived) {
    prop.setGetStyle("String_Node_Str");
    prop.setSetStyle("String_Node_Str");
    prop.setTypeStyle("String_Node_Str");
    prop.setDeprecated(parseDeprecated(content));
    prop.setPropertyName(parseMethodNameAsPropertyName(content));
    prop.setUpperName(makeUpperName(prop.getPropertyName()));
    prop.setFieldType(parseMethodType(content));
  }
 else {
    prop.setGetStyle(parseGetStyle(content));
    prop.setSetStyle(parseSetStyle(content));
    prop.setTypeStyle(parseTypeStyle(content));
    prop.setValidation(parseValidation(content));
    prop.setDeprecated(parseDeprecated(content));
    prop.setFieldName(parseFieldName(content));
    prop.setPropertyName(makePropertyName(bean,prop.getFieldName()));
    prop.setUpperName(makeUpperName(prop.getPropertyName()));
    prop.setFinal(parseFinal(content));
    prop.setFieldType(parseFieldType(content));
  }
  prop.resolveType();
  prop.resolveGetterGen();
  prop.resolveSetterGen();
  prop.resolveCopyGen();
  prop.resolveBuilderGen();
  List<String> comments=parseComment(content,prop.getPropertyName());
  prop.setFirstComment(comments.get(0));
  prop.getComments().addAll(comments.subList(1,comments.size()));
  this.data=prop;
}