@Override
	public void setName(String newName, SourceType source)
			throws DuplicateNameException, InvalidInputException {
		String oldName = getName();
		if (Library.UNKNOWN.equals(oldName)) {
			Msg.warn(this, "Unable to change name of " + Library.UNKNOWN + " Library");
			return;
		}

		super.setName(newName, source);

		if (!oldName.equals(getName())) {
			symbolMgr.getProgram()
					.setObjChanged(ProgramEvent.EXTERNAL_NAME_CHANGED, (Address) null, null,
						oldName, newName);
		}
	}
Constructs a new Library Symbol
@param symbolMgr the symbol manager
@param cache symbol object cache
@param record the record for this symbol
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/LibrarySymbol.java