Bug 72793 Ctrl+Shift+U (Find Occurrences) does not mark write access to qualified field [search]
I200408241200 1. open file TextFileDocumentProvider rev. 1.45 2. select FileInfo.fCachedReadOnlyState 3. Ctrl+Shift+U 4. step through the matches ==> some of them are write access but this is not shown in the Search view
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java
attributes.put(IS_WRITEACCESS, new Boolean(true));
		if(isVariable)
			attributes.put(IS_VARIABLE, new Boolean(true));
			
		try {
			int line= document.getLineOfOffset(startPosition);
			MarkerUtilities.setLineNumber(attributes, line);
			IRegion region= document.getLineInformation(line);
			String lineContents= document.get(region.getOffset(), region.getLength());
			MarkerUtilities.setMessage(attributes, lineContents.trim());
		} catch (BadLocationException e) {
		}
		marker.setAttributes(attributes);
		return marker;
	}
	
	/*
	 * @see org.eclipse.jdt.internal.ui.search.IOccurrencesFinder#getOccurrenceMatches(org.eclipse.jdt.core.IJavaElement, org.eclipse.jface.text.IDocument)
	 */
	public Match[] getOccurrenceMatches(IJavaElement element, IDocument document) {
		boolean isVariable= fTarget instanceof IVariableBinding;
		ArrayList matches= new ArrayList(fUsages.size());
		HashMap lineToGroup= new HashMap();
		
		for (Iterator iter= fUsages.iterator(); iter.hasNext();) {
			ASTNode node= (ASTNode) iter.next();
			int startPosition= node.getStartPosition();
			int length= node.getLength();
			try {
				boolean isWriteAccess= fWriteUsages.contains(node);