private void removeInternal(List<DataType> dataTypes) {
		for (DataType dt : dataTypes) {

			if (!contains(dt)) {
				continue;
			}

			long id = getID(dt);
			if (id <= 0) { // removal of certain special types not permitted
				continue;
			}

			idsToDelete.add(id);
		}

		removeQueuedDataTypes();
	}
Remove the given datatype from this manager (assumes the lock has already been acquired).

@param dataType the dataType to be removed
@return true if datatype removal was successful, else false
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeManagerDB.java