private void doSetName(String newName) throws InvalidNameException {
		if (this.name.equals(newName)) {
			return;
		}
		checkValidName(newName);
		String oldName = this.name;
		this.name = newName;
		notifyNameChanged(oldName);
	}
Base implementation for a generic data type.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/GenericDataType.java