@Override
	public void restoreOriginalName() {
		String originalName = getOriginalImportedName();
		if (originalName == null) {
			return;
		}
		try {
			Library library = NamespaceUtils.getLibrary(symbol.getParentNamespace());
			symbol.setExternalOriginalImportedName(null, false); // clear orig imported name
			symbol.setNameAndNamespace(originalName, library, SourceType.IMPORTED);
		}
		catch (CircularDependencyException | DuplicateNameException | InvalidInputException e) {
			throw new AssertException("Can't happen here", e);
		}
	}
Set the label and optional namespace associated with an external location.
Any non-existing namespace will be created as a simple namespace within the associated
library.
@param label external location label.  The label may be qualified with a namespace
and best effort will be used to parse it (see {@link SymbolPath}).
If a namespace is not included within label, the current namespace will be preserved.
@param source the source of this external symbol:
Symbol.DEFAULT, Symbol.ANALYSIS, Symbol.IMPORTED, or Symbol.USER_DEFINED
@throws InvalidInputException if the name contains illegal characters (space for example)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/external/ExternalLocationDB.java