IDocumentProvider provider= fEditor.getDocumentProvider(); return provider.getDocument(fEditor.getEditorInput());
JavaEditor editor= fEditor; if (editor == null) return null;  IDocumentProvider provider= editor.getDocumentProvider(); if (provider == null) return null;  return provider.getDocument(editor.getEditorInput());
	private IDocument getDocument() {		IDocumentProvider provider= fEditor.getDocumentProvider();		return provider.getDocument(fEditor.getEditorInput());	}