Bug 81407 [5.0][navigation] Mark occurrences could highlight statically imported fields and methods
200412160010: When clicking on a static import for a field or method, all occurrences of that member should be highlighted. Same also for static star imports.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java
OccurrencesGroupKey groupKey= (OccurrencesGroupKey) lineToGroup.get(lineInteger);
				if (groupKey == null) {
					IRegion region= document.getLineInformation(line);
					String lineContents= document.get(region.getOffset(), region.getLength()).trim();
					groupKey= new OccurrencesGroupKey(element, line, lineContents, isWriteAccess, isVariable);
					lineToGroup.put(lineInteger, groupKey);
				} else if (isWriteAccess) {
					
					groupKey.setWriteAccess(true);
				}
				Match match= new Match(groupKey, startPosition, length);
				resultingMatches.add(match);
			} catch (BadLocationException e) {
				
			}
		}
	}
	
	/*
	 * @see org.eclipse.jdt.internal.ui.search.IOccurrencesFinder#getJobLabel()
	 */
	public String getJobLabel() {
		return SearchMessages.getString("OccurrencesFinder.searchfor") ; 
	}
	
	
	public String getPluralLabel(String elementName) {
		String[] args= new String[] {ASTNodes.asString(fSelectedNode), "{0}", elementName}; 
		return SearchMessages.getFormattedString("OccurrencesFinder.label.plural", args); 
	}