Program: 75754
Project: 75754
Buggy source:
private void createObjects(TreeItem topItem,String objectType){
  for (Iterator itor=DEUtil.getMetaDataDictionary().getClasses().iterator(); itor.hasNext(); ) {
    IClassInfo classInfo=(IClassInfo)itor.next();
    if (classInfo.isNative() && OBJECTS_TYPE_BIRT.equals(objectType) || !classInfo.isNative() && OBJECTS_TYPE_NATIVE.equals(objectType)) {
      continue;
    }
    TreeItem subItem=createSubFolderItem(topItem,classInfo);
    Image globalImage=null;
    if (isGlobal(classInfo.getName())) {
      globalImage=IMAGE_GOLBAL;
    }
    for (Iterator iterator=classInfo.getMembers().iterator(); iterator.hasNext(); ) {
      IMemberInfo memberInfo=(IMemberInfo)iterator.next();
      Image image=globalImage;
      if (image == null) {
        if (memberInfo.isStatic()) {
          image=IMAGE_STATIC_MEMBER;
        }
 else {
          image=IMAGE_MEMBER;
        }
      }
      createSubTreeItem(subItem,memberInfo.getDisplayName(),image,getMemberTextData(classInfo.getName(),memberInfo),memberInfo.getToolTip(),true);
    }
    List methodList=new ArrayList();
    methodList.add(classInfo.getConstructor());
    methodList.addAll(classInfo.getMethods());
    for (Iterator iterator=methodList.iterator(); iterator.hasNext(); ) {
      IMethodInfo methodInfo=(IMethodInfo)iterator.next();
      if (methodInfo == null) {
        continue;
      }
      Image image=globalImage;
      if (image == null) {
        if (methodInfo.isStatic()) {
          image=IMAGE_STATIC_METHOD;
        }
 else {
          image=IMAGE_METHOD;
        }
      }
      List displayList=getMethodArgumentsList(classInfo.getName(),methodInfo);
      for (int i=0; i < displayList.size(); i++) {
        String[] array=(String[])displayList.get(i);
        createSubTreeItem(subItem,array[0],image,array[1],methodInfo.getToolTip(),true);
      }
    }
  }
}

Fixed version (ground truth):
private void createObjects(TreeItem topItem,String objectType){
  for (Iterator itor=DEUtil.getClasses().iterator(); itor.hasNext(); ) {
    IClassInfo classInfo=(IClassInfo)itor.next();
    if (classInfo.isNative() && OBJECTS_TYPE_BIRT.equals(objectType) || !classInfo.isNative() && OBJECTS_TYPE_NATIVE.equals(objectType)) {
      continue;
    }
    TreeItem subItem=createSubFolderItem(topItem,classInfo);
    Image globalImage=null;
    if (isGlobal(classInfo.getName())) {
      globalImage=IMAGE_GOLBAL;
    }
    for (Iterator iterator=classInfo.getMembers().iterator(); iterator.hasNext(); ) {
      IMemberInfo memberInfo=(IMemberInfo)iterator.next();
      Image image=globalImage;
      if (image == null) {
        if (memberInfo.isStatic()) {
          image=IMAGE_STATIC_MEMBER;
        }
 else {
          image=IMAGE_MEMBER;
        }
      }
      createSubTreeItem(subItem,memberInfo.getDisplayName(),image,getMemberTextData(classInfo.getName(),memberInfo),memberInfo.getToolTip(),true);
    }
    List methodList=new ArrayList();
    methodList.add(classInfo.getConstructor());
    methodList.addAll(classInfo.getMethods());
    for (Iterator iterator=methodList.iterator(); iterator.hasNext(); ) {
      IMethodInfo methodInfo=(IMethodInfo)iterator.next();
      if (methodInfo == null) {
        continue;
      }
      Image image=globalImage;
      if (image == null) {
        if (methodInfo.isStatic()) {
          image=IMAGE_STATIC_METHOD;
        }
 else {
          image=IMAGE_METHOD;
        }
      }
      List displayList=getMethodArgumentsList(classInfo.getName(),methodInfo);
      for (int i=0; i < displayList.size(); i++) {
        String[] array=(String[])displayList.get(i);
        createSubTreeItem(subItem,array[0],image,array[1],methodInfo.getToolTip(),true);
      }
    }
  }
}