Program: 9571
Project: 9571
Buggy source:
/** 
 * Assumes "public" visibility for the icon.
 * @return	null if the kind could not be resolved
 */
public AbstractIcon getIcon(IProgramElement.Kind kind){
  if (kind == IProgramElement.Kind.PROJECT) {
    return PROJECT;
  }
 else   if (kind == IProgramElement.Kind.PACKAGE) {
    return PACKAGE;
  }
 else   if (kind == IProgramElement.Kind.FILE) {
    return FILE;
  }
 else   if (kind == IProgramElement.Kind.FILE_JAVA) {
    return FILE_JAVA;
  }
 else   if (kind == IProgramElement.Kind.FILE_ASPECTJ) {
    return FILE_ASPECTJ;
  }
 else   if (kind == IProgramElement.Kind.FILE_LST) {
    return FILE_LST;
  }
 else   if (kind == IProgramElement.Kind.CLASS) {
    return CLASS;
  }
 else   if (kind == IProgramElement.Kind.INTERFACE) {
    return INTERFACE;
  }
 else   if (kind == IProgramElement.Kind.ASPECT) {
    return ASPECT;
  }
 else   if (kind == IProgramElement.Kind.INITIALIZER) {
    return INITIALIZER;
  }
 else   if (kind == IProgramElement.Kind.INTER_TYPE_CONSTRUCTOR) {
    return INTRODUCTION;
  }
 else   if (kind == IProgramElement.Kind.INTER_TYPE_FIELD) {
    return INTRODUCTION;
  }
 else   if (kind == IProgramElement.Kind.INTER_TYPE_METHOD) {
    return INTRODUCTION;
  }
 else   if (kind == IProgramElement.Kind.CONSTRUCTOR) {
    return CONSTRUCTOR;
  }
 else   if (kind == IProgramElement.Kind.METHOD) {
    return METHOD;
  }
 else   if (kind == IProgramElement.Kind.FIELD) {
    return FIELD;
  }
 else   if (kind == IProgramElement.Kind.POINTCUT) {
    return POINTCUT;
  }
 else   if (kind == IProgramElement.Kind.ADVICE) {
    return ADVICE;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_PARENTS) {
    return DECLARE_PARENTS;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_WARNING) {
    return DECLARE_WARNING;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_ERROR) {
    return DECLARE_ERROR;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_SOFT) {
    return DECLARE_SOFT;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_PRECEDENCE) {
    return DECLARE_SOFT;
  }
 else   if (kind == IProgramElement.Kind.CODE) {
    return CODE;
  }
 else   if (kind == IProgramElement.Kind.ERROR) {
    return ERROR;
  }
 else {
    System.err.println("String_Node_Str" + kind);
    return null;
  }
}

Fixed version (ground truth):
/** 
 * Assumes "public" visibility for the icon.
 * @return	null if the kind could not be resolved
 */
public AbstractIcon getIcon(IProgramElement.Kind kind){
  if (kind == IProgramElement.Kind.PROJECT) {
    return PROJECT;
  }
 else   if (kind == IProgramElement.Kind.PACKAGE) {
    return PACKAGE;
  }
 else   if (kind == IProgramElement.Kind.FILE) {
    return FILE;
  }
 else   if (kind == IProgramElement.Kind.FILE_JAVA) {
    return FILE_JAVA;
  }
 else   if (kind == IProgramElement.Kind.FILE_ASPECTJ) {
    return FILE_ASPECTJ;
  }
 else   if (kind == IProgramElement.Kind.FILE_LST) {
    return FILE_LST;
  }
 else   if (kind == IProgramElement.Kind.CLASS) {
    return CLASS;
  }
 else   if (kind == IProgramElement.Kind.INTERFACE) {
    return INTERFACE;
  }
 else   if (kind == IProgramElement.Kind.ASPECT) {
    return ASPECT;
  }
 else   if (kind == IProgramElement.Kind.INITIALIZER) {
    return INITIALIZER;
  }
 else   if (kind == IProgramElement.Kind.INTER_TYPE_CONSTRUCTOR) {
    return INTRODUCTION;
  }
 else   if (kind == IProgramElement.Kind.INTER_TYPE_FIELD) {
    return INTRODUCTION;
  }
 else   if (kind == IProgramElement.Kind.INTER_TYPE_METHOD) {
    return INTRODUCTION;
  }
 else   if (kind == IProgramElement.Kind.CONSTRUCTOR) {
    return CONSTRUCTOR;
  }
 else   if (kind == IProgramElement.Kind.METHOD) {
    return METHOD;
  }
 else   if (kind == IProgramElement.Kind.FIELD) {
    return FIELD;
  }
 else   if (kind == IProgramElement.Kind.POINTCUT) {
    return POINTCUT;
  }
 else   if (kind == IProgramElement.Kind.ADVICE) {
    return ADVICE;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_PARENTS) {
    return DECLARE_PARENTS;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_WARNING) {
    return DECLARE_WARNING;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_ERROR) {
    return DECLARE_ERROR;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_SOFT) {
    return DECLARE_SOFT;
  }
 else   if (kind == IProgramElement.Kind.DECLARE_PRECEDENCE) {
    return DECLARE_SOFT;
  }
 else   if (kind == IProgramElement.Kind.CODE) {
    return CODE;
  }
 else   if (kind == IProgramElement.Kind.ERROR) {
    return ERROR;
  }
 else   if (kind == IProgramElement.Kind.IMPORT_REFERENCE) {
    return RELATION_REFERENCE_FORWARD;
  }
 else {
    System.err.println("String_Node_Str" + kind);
    return null;
  }
}