if (editor == null || ruler == null)
if (editor == null || ruler == null) {
	protected void obtainFindBugsMarkers() {		//Delete old markers		markers.clear();		if (editor == null || ruler == null)			return;				//Obtain all markers in the editor		IMarker[] allMarkers;		int line = ruler.getLineOfLastMouseButtonActivity() + 1;		IResource resource = (IResource) editor.getEditorInput().getAdapter(				IFile.class);		try {			allMarkers = resource.findMarkers(FindBugsMarker.NAME, true, 0);		} catch (CoreException e) {			//TODO: log exception			return;		}				//Discover relevant markers, i.e. FindBugsMarkers		AbstractMarkerAnnotationModel model = getModel();		IDocument document = getDocument();		for (int i = 0; i < allMarkers.length; i++) {			if (includesRulerLine(model.getMarkerPosition(allMarkers[i]),					document)) {				try {					if (allMarkers[i].getType().equals(FindBugsMarker.NAME))						markers.add(allMarkers[i]);				} catch (CoreException e) {					//TODO: log exception				}			}		}	}