src/vs/workbench/browser/parts/editor/editorPane.ts/EditorMemento/doGetResource
class EditorMemento:	private doGetResource(resourceOrEditor: URI | EditorInput): URI | undefined {
		if (isEditorInput(resourceOrEditor)) {
			return resourceOrEditor.resource;
		}

		return resourceOrEditor;
	}