Bug 31208 occurrences in file: some names cannot be searched for
20030206 package dd; import java.util.List; public class A { A(List elements){ } } select List in the import - ok, finds matches select List in the constructor declaration - no matches strange, it's the same List
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindOccurrencesEngine.java
} catch (CoreException e) {
		}
		return marker;
	}
	
	private IMarker createMarker(IResource file, IDocument document, ASTNode element, boolean writeAccess, boolean isVariable) throws CoreException {
		Map attributes= new HashMap(10);
		IMarker marker= file.createMarker(SearchUI.SEARCH_MARKER);
		int startPosition= element.getStartPosition();
		MarkerUtilities.setCharStart(attributes, startPosition);
		MarkerUtilities.setCharEnd(attributes, startPosition + element.getLength());
		addSpecialAttributes(attributes);
		
		if(writeAccess)
			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;
	}
	private String getPluralLabel(String nodeContents, String elementName) {