src/vs/workbench/common/editor/resourceEditorInput.ts/AbstractResourceEditorInput/decorateLabel
class AbstractResourceEditorInput:	private decorateLabel(label: string): string {
		const readonly = this.hasCapability(EditorInputCapabilities.Readonly);
		const orphaned = this.isOrphaned();

		return decorateFileEditorLabel(label, { orphaned, readonly });
	}