public String toString() {
   StringBuffer buffer = new StringBuffer("Queue:\n"); // $NON-NLS-1$
   for (int i = this.start; i <= this.end; i++) {
     buffer.append(this.names[i]).append('\n');
   }
   return buffer.toString();
 }
 protected void assertTypeBindingsEqual(String message, String expected, ITypeBinding[] types) {
   StringBuffer buffer = new StringBuffer();
   if (types == null) {
     buffer.append("<null>");
   } else {
     for (int i = 0, length = types.length; i < length; i++) {
       buffer.append(types[i].getQualifiedName());
       if (i != length - 1) {
         buffer.append("\n");
       }
     }
   }
   if (!expected.equals(buffer.toString())) {
     System.out.println(org.eclipse.jdt.core.tests.util.Util.displayString(buffer.toString(), 2));
   }
   assertEquals(message, expected, buffer.toString());
 }