Bug 77599 [5.0] Structure comparing of enums does not work
I200411022000 1. Create enum (either as separete file or inside a class): public enum E { A, B, C, D, F, Incomplete } 2. Delete B and save 3. compare ==> no structural difference gets reported
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
break;
					}
				}
				content= buf.toString();	
			} catch (InvalidInputException ex) {
				
			}
		}
		return content;
	}
	
	/**
	 * Returns true since this IStructureCreator can rewrite the diff tree
	 * in order to fold certain combinations of additons and deletions.
	 */
	public boolean canRewriteTree() {
		return true;
	}
	
	/**
	 * Tries to detect certain combinations of additons and deletions
	 * as renames or signature changes and foldes them into a single node.
	 */
	public void rewriteTree(Differencer differencer, IDiffContainer root) {
		
		HashMap map= new HashMap(10);
				
		Object[] children= root.getChildren();
		for (int i= 0; i < children.length; i++) {
			DiffNode diff= (DiffNode) children[i];