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
switch (diff.getKind() & Differencer.CHANGE_TYPE_MASK) {
				case Differencer.ADDITION:
				case Differencer.DELETION:
					
					
					
					if (type != JavaNode.CONSTRUCTOR)
						nameInfo.setDiff(diff);
					
					if (argInfo != null)
						argInfo.setDiff(diff);
					break;
				default:
					break;
				}
			}
			
			
			rewriteTree(differencer, diff);
		}
		
		
		
		Iterator it= map.keySet().iterator();
		while (it.hasNext()) {
			String name= (String) it.next();
			RewriteInfo i= (RewriteInfo) map.get(name);
			if (i.matches()) {