IMarker marker= file.createMarker(SearchUI.SEARCH_MARKER);
IMarker marker= file.createMarker(NewSearchUI.SEARCH_MARKER);
	private static IMarker createMarker(IResource file, IDocument document, ASTNode node, boolean writeAccess, boolean isVariable) throws CoreException {		Map attributes= new HashMap(10);		IMarker marker= file.createMarker(SearchUI.SEARCH_MARKER);		int startPosition= node.getStartPosition();		MarkerUtilities.setCharStart(attributes, startPosition);		MarkerUtilities.setCharEnd(attributes, startPosition + node.getLength());				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;	}