Program: 54169
Project: 54169
Buggy source:
public void generateClass(PsiElementFactory mFactory,PsiClass parentClass){
  if (isGenerate()) {
    String classContent="String_Node_Str" + className + "String_Node_Str";
    PsiClass subClass=mFactory.createClassFromText(classContent,null).getInnerClasses()[0];
    for (    FieldEntity fieldEntity : getFields()) {
      if (fieldEntity instanceof InnerClassEntity) {
        ((InnerClassEntity)fieldEntity).generateSupperFiled(mFactory,subClass);
        ((InnerClassEntity)fieldEntity).setFieldTypeSuffix(getClassFieldType());
        ((InnerClassEntity)fieldEntity).generateClass(mFactory,subClass);
        fieldEntity.generateFiled(mFactory,subClass,this);
      }
 else {
        fieldEntity.generateFiled(mFactory,subClass,this);
      }
    }
    configGetterAndSetter(mFactory,subClass);
    createExtraMethod(mFactory,subClass);
    parentClass.add(subClass);
    if (Config.getInstant().getAnnotationStr().equals(Strings.jackAnnotation)) {
    }
 else     if (Config.getInstant().getAnnotationStr().equals(Strings.loganSquareAnnotation)) {
      subClass=parentClass.findInnerClassByName(className,false);
      if (subClass != null) {
        PsiModifierList modifierList=subClass.getModifierList();
        PsiAnnotation annotationFromText=mFactory.createAnnotationFromText("String_Node_Str",subClass);
        PsiElement firstChild=modifierList.getFirstChild();
        modifierList.addBefore(annotationFromText,firstChild);
      }
    }
 else     if (Config.getInstant().getAnnotationStr().equals(Strings.autoValueAnnotation)) {
      subClass=parentClass.findInnerClassByName(className,false);
      if (subClass != null) {
        hanleAutoValueAnnotation(mFactory,subClass);
      }
    }
  }
}

Fixed version (ground truth):
public void generateClass(PsiElementFactory mFactory,PsiClass parentClass){
  if (isGenerate()) {
    String classContent="String_Node_Str" + className + "String_Node_Str";
    PsiClass subClass=mFactory.createClassFromText(classContent,null).getInnerClasses()[0];
    for (    FieldEntity fieldEntity : getFields()) {
      if (fieldEntity instanceof InnerClassEntity) {
        ((InnerClassEntity)fieldEntity).generateSupperFiled(mFactory,subClass);
        ((InnerClassEntity)fieldEntity).setFieldTypeSuffix(getClassFieldType());
        ((InnerClassEntity)fieldEntity).generateClass(mFactory,subClass);
      }
 else {
        fieldEntity.generateFiled(mFactory,subClass,this);
      }
    }
    configGetterAndSetter(mFactory,subClass);
    createExtraMethod(mFactory,subClass);
    parentClass.add(subClass);
    if (Config.getInstant().getAnnotationStr().equals(Strings.jackAnnotation)) {
    }
 else     if (Config.getInstant().getAnnotationStr().equals(Strings.loganSquareAnnotation)) {
      subClass=parentClass.findInnerClassByName(className,false);
      if (subClass != null) {
        PsiModifierList modifierList=subClass.getModifierList();
        PsiAnnotation annotationFromText=mFactory.createAnnotationFromText("String_Node_Str",subClass);
        PsiElement firstChild=modifierList.getFirstChild();
        modifierList.addBefore(annotationFromText,firstChild);
      }
    }
 else     if (Config.getInstant().getAnnotationStr().equals(Strings.autoValueAnnotation)) {
      subClass=parentClass.findInnerClassByName(className,false);
      if (subClass != null) {
        hanleAutoValueAnnotation(mFactory,subClass);
      }
    }
  }
}