Bug 33163 Search again menu option fails to find new occurrences
R2.1 RC1 From the java editor popup menu "Search -> Occurrences in file" on an item that will generate one or more matches. Note the number of matches. Now insert another instance of the item you searched for and press save to recompile the class. RMB in the search view and "Search again" It won't find the new occurrence. Either the search again should be disabled or it should do the search again. I prefer the later.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindOccurrencesEngine.java
List matches= finder.getUsages();
				List writeMatches= finder.getWriteUsages();
				IResource file= getMarkerOwner();				
				for (Iterator each= matches.iterator(); each.hasNext();) {
					ASTNode node= (ASTNode) each.next();
					addMatch(
						view, 
						file, 
						createMarker(file, document, node, writeMatches.contains(node), target instanceof IVariableBinding)
					);
				}
				searchFinished(view);
			}
		};
		run(runnable);
		return null;
	}
	public Name getNameNode(CompilationUnit root, int offset, int length) {
		ASTNode node= NodeFinder.perform(root, offset, length);
		if (node instanceof Name)
			return (Name)node;
		
		Name name= NameNodeFinder.perform(node);
		if (name == null || name.getStartPosition() != node.getStartPosition() || name.getLength() != node.getLength())
			return null;
		return name;
	}
	
	private ISearchResultView startSearch(String fileName, final Name name) {
		SearchUI.activateSearchResultView();