Program: 12085
Project: 12085
Buggy source:
/** 
 * Create field editors
 */
@Override protected void createFieldEditors(){
{
    Composite parent=getFieldEditorParent();
    Group commonPrentGroup=new Group(parent,0);
{
      FillLayout parentLayout=new FillLayout(256);
      parentLayout.marginHeight=2;
      parentLayout.marginWidth=4;
      commonPrentGroup.setLayout(parentLayout);
      commonPrentGroup.setText("String_Node_Str");
      GridData gd=new GridData(768);
      commonPrentGroup.setLayoutData(gd);
      Composite grp=new Composite(commonPrentGroup,0);
      grp.setLayout(new GridLayout(2,false));
      Label label=new Label(grp,0);
      label.setText("String_Node_Str");
      gd=new GridData(768);
      gd.horizontalSpan=2;
      label.setLayoutData(gd);
      addField(new StringFieldEditor(STR.Preference.Common.SRC_MAIN_PATH,STR.Preference.Common.SRC_MAIN_PATH,grp));
      addField(new StringFieldEditor(STR.Preference.Common.SRC_TEST_PATH,STR.Preference.Common.SRC_TEST_PATH,grp));
    }
    BooleanFieldEditor enable=new BooleanFieldEditor(STR.Preference.TestMethodGen.ENABLE,STR.Preference.TestMethodGen.ENABLE,parent);
    addField(enable);
    Group genTestMethodsParentGroup=new Group(parent,0);
{
      FillLayout parentLayout=new FillLayout(256);
      parentLayout.marginHeight=2;
      parentLayout.marginWidth=4;
      genTestMethodsParentGroup.setLayout(parentLayout);
      genTestMethodsParentGroup.setText("String_Node_Str");
      GridData gd=new GridData(768);
      genTestMethodsParentGroup.setLayoutData(gd);
      Composite grp=new Composite(genTestMethodsParentGroup,0);
      grp.setLayout(new GridLayout(2,false));
    }
{
      Group group=new Group(genTestMethodsParentGroup,0);
      FillLayout layout=new FillLayout(256);
      layout.marginHeight=4;
      layout.marginWidth=4;
      group.setLayout(layout);
      group.setText("String_Node_Str");
      GridData gd=new GridData(768);
      gd.horizontalSpan=2;
      group.setLayoutData(gd);
      Composite grp=new Composite(group,0);
      grp.setLayout(new GridLayout(2,false));
      addField(new StringFieldEditor(STR.Preference.TestMethodGen.DELIMITER,STR.Preference.TestMethodGen.DELIMITER,grp));
    }
{
      BooleanFieldEditor enableArgs=new BooleanFieldEditor(STR.Preference.TestMethodGen.ARGS,STR.Preference.TestMethodGen.ARGS,genTestMethodsParentGroup);
      addField(enableArgs);
      Group group=new Group(genTestMethodsParentGroup,0);
      FillLayout layout=new FillLayout(256);
      layout.marginHeight=4;
      layout.marginWidth=4;
      group.setLayout(layout);
      group.setText("String_Node_Str");
      GridData gd=new GridData(768);
      gd.horizontalSpan=2;
      group.setLayoutData(gd);
      Composite grp=new Composite(group,0);
      grp.setLayout(new GridLayout(2,false));
      StringFieldEditor argsPrefix=new StringFieldEditor(STR.Preference.TestMethodGen.ARGS_PREFIX,STR.Preference.TestMethodGen.ARGS_PREFIX,grp);
      StringFieldEditor argsDelimiter=new StringFieldEditor(STR.Preference.TestMethodGen.ARGS_DELIMITER,STR.Preference.TestMethodGen.ARGS_DELIMITER,grp);
      addField(argsPrefix);
      addField(argsDelimiter);
    }
{
      addField(new BooleanFieldEditor(STR.Preference.TestMethodGen.RETURN,STR.Preference.TestMethodGen.RETURN,genTestMethodsParentGroup));
      Group group=new Group(genTestMethodsParentGroup,0);
      FillLayout layout=new FillLayout(256);
      layout.marginHeight=4;
      layout.marginWidth=4;
      group.setLayout(layout);
      group.setText("String_Node_Str");
      GridData gd=new GridData(768);
      gd.horizontalSpan=2;
      group.setLayoutData(gd);
      Composite grp=new Composite(group,0);
      grp.setLayout(new GridLayout(2,false));
      StringFieldEditor argsPrefix=new StringFieldEditor(STR.Preference.TestMethodGen.RETURN_PREFIX,STR.Preference.TestMethodGen.RETURN_PREFIX,grp);
      StringFieldEditor argsDelimiter=new StringFieldEditor(STR.Preference.TestMethodGen.RETURN_DELIMITER,STR.Preference.TestMethodGen.RETURN_DELIMITER,grp);
      addField(argsPrefix);
      addField(argsDelimiter);
    }
{
      BooleanFieldEditor execludesAccessors=new BooleanFieldEditor(STR.Preference.TestMethodGen.EXLCUDES_ACCESSORS,STR.Preference.TestMethodGen.EXLCUDES_ACCESSORS,genTestMethodsParentGroup);
      addField(execludesAccessors);
    }
{
      BooleanFieldEditor enableGenerateSample=new BooleanFieldEditor(STR.Preference.TestMethodGen.METHOD_SAMPLE_IMPLEMENTATION,STR.Preference.TestMethodGen.METHOD_SAMPLE_IMPLEMENTATION,genTestMethodsParentGroup);
      addField(enableGenerateSample);
    }
  }
}

Fixed version (ground truth):
/** 
 * Create field editors
 */
@Override protected void createFieldEditors(){
{
    Composite parent=getFieldEditorParent();
    Group commonPrentGroup=new Group(parent,0);
{
      FillLayout parentLayout=new FillLayout(256);
      parentLayout.marginHeight=2;
      parentLayout.marginWidth=4;
      commonPrentGroup.setLayout(parentLayout);
      commonPrentGroup.setText("String_Node_Str");
      GridData gd=new GridData(768);
      commonPrentGroup.setLayoutData(gd);
      Composite grp=new Composite(commonPrentGroup,0);
      grp.setLayout(new GridLayout(2,false));
      Label label=new Label(grp,0);
      label.setText("String_Node_Str");
      gd=new GridData(768);
      gd.horizontalSpan=2;
      label.setLayoutData(gd);
      addField(new StringFieldEditor(STR.Preference.Common.SRC_MAIN_PATH,STR.Preference.Common.SRC_MAIN_PATH,grp));
      addField(new StringFieldEditor(STR.Preference.Common.SRC_TEST_PATH,STR.Preference.Common.SRC_TEST_PATH,grp));
      addField(new StringFieldEditor(STR.Preference.Common.CLASS_TO_EXTEND,STR.Preference.Common.CLASS_TO_EXTEND,grp));
    }
    BooleanFieldEditor enable=new BooleanFieldEditor(STR.Preference.TestMethodGen.ENABLE,STR.Preference.TestMethodGen.ENABLE,parent);
    addField(enable);
    Group genTestMethodsParentGroup=new Group(parent,0);
{
      FillLayout parentLayout=new FillLayout(256);
      parentLayout.marginHeight=2;
      parentLayout.marginWidth=4;
      genTestMethodsParentGroup.setLayout(parentLayout);
      genTestMethodsParentGroup.setText("String_Node_Str");
      GridData gd=new GridData(768);
      genTestMethodsParentGroup.setLayoutData(gd);
      Composite grp=new Composite(genTestMethodsParentGroup,0);
      grp.setLayout(new GridLayout(2,false));
    }
{
      Group group=new Group(genTestMethodsParentGroup,0);
      FillLayout layout=new FillLayout(256);
      layout.marginHeight=4;
      layout.marginWidth=4;
      group.setLayout(layout);
      group.setText("String_Node_Str");
      GridData gd=new GridData(768);
      gd.horizontalSpan=2;
      group.setLayoutData(gd);
      Composite grp=new Composite(group,0);
      grp.setLayout(new GridLayout(2,false));
      addField(new StringFieldEditor(STR.Preference.TestMethodGen.DELIMITER,STR.Preference.TestMethodGen.DELIMITER,grp));
    }
{
      BooleanFieldEditor enableArgs=new BooleanFieldEditor(STR.Preference.TestMethodGen.ARGS,STR.Preference.TestMethodGen.ARGS,genTestMethodsParentGroup);
      addField(enableArgs);
      Group group=new Group(genTestMethodsParentGroup,0);
      FillLayout layout=new FillLayout(256);
      layout.marginHeight=4;
      layout.marginWidth=4;
      group.setLayout(layout);
      group.setText("String_Node_Str");
      GridData gd=new GridData(768);
      gd.horizontalSpan=2;
      group.setLayoutData(gd);
      Composite grp=new Composite(group,0);
      grp.setLayout(new GridLayout(2,false));
      StringFieldEditor argsPrefix=new StringFieldEditor(STR.Preference.TestMethodGen.ARGS_PREFIX,STR.Preference.TestMethodGen.ARGS_PREFIX,grp);
      StringFieldEditor argsDelimiter=new StringFieldEditor(STR.Preference.TestMethodGen.ARGS_DELIMITER,STR.Preference.TestMethodGen.ARGS_DELIMITER,grp);
      addField(argsPrefix);
      addField(argsDelimiter);
    }
{
      addField(new BooleanFieldEditor(STR.Preference.TestMethodGen.RETURN,STR.Preference.TestMethodGen.RETURN,genTestMethodsParentGroup));
      Group group=new Group(genTestMethodsParentGroup,0);
      FillLayout layout=new FillLayout(256);
      layout.marginHeight=4;
      layout.marginWidth=4;
      group.setLayout(layout);
      group.setText("String_Node_Str");
      GridData gd=new GridData(768);
      gd.horizontalSpan=2;
      group.setLayoutData(gd);
      Composite grp=new Composite(group,0);
      grp.setLayout(new GridLayout(2,false));
      StringFieldEditor argsPrefix=new StringFieldEditor(STR.Preference.TestMethodGen.RETURN_PREFIX,STR.Preference.TestMethodGen.RETURN_PREFIX,grp);
      StringFieldEditor argsDelimiter=new StringFieldEditor(STR.Preference.TestMethodGen.RETURN_DELIMITER,STR.Preference.TestMethodGen.RETURN_DELIMITER,grp);
      addField(argsPrefix);
      addField(argsDelimiter);
    }
{
      BooleanFieldEditor execludesAccessors=new BooleanFieldEditor(STR.Preference.TestMethodGen.EXLCUDES_ACCESSORS,STR.Preference.TestMethodGen.EXLCUDES_ACCESSORS,genTestMethodsParentGroup);
      addField(execludesAccessors);
    }
{
      BooleanFieldEditor enableGenerateSample=new BooleanFieldEditor(STR.Preference.TestMethodGen.METHOD_SAMPLE_IMPLEMENTATION,STR.Preference.TestMethodGen.METHOD_SAMPLE_IMPLEMENTATION,genTestMethodsParentGroup);
      addField(enableGenerateSample);
    }
  }
}