protected DataType doCheckedResolve(DataType dt) throws DataTypeDependencyException {
		if (dt instanceof Pointer) {
			pointerPostResolveRequired = true;
			return resolve(((Pointer) dt).newPointer(DataType.DEFAULT));
		}
		dt = resolve(dt);
		checkAncestry(dt);
		return dt;
	}
This method throws an exception if the indicated data type is an ancestor of
this data type. In other words, the specified data type has a component or
sub-component containing this data type.

@param dataType the data type
@throws DataTypeDependencyException if the data type is an ancestor of this
                                    data type.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDB.java