@Deprecated(since = "10.2")
	public static void findDataTypeReferences(Accumulator<LocationReference> accumulator,
			DataType dataType, String fieldName, Program program, TaskMonitor monitor)
			throws CancelledException {
		findDataTypeReferences(accumulator, dataType, fieldName, program, true, monitor);
	}
Returns all references (locations) that use the given datatype.
<p>
<b>Note: </b> This method call may take a long time, as it must search all of the data
within the program and may also perform long running tasks, like decompiling every function
in the program.

@param accumulator the results storage.
@param dataType The datatype for which to find references.
@param fieldName optional field name for which to search; the {@code dataType} must be a
{@link Composite} to search for a field.
@param program The program from within which to find references.
@param monitor A task monitor to be updated as data is searched; if this is null, then a
dummy monitor will be used.
@throws CancelledException if the monitor is cancelled.
@deprecated use {@link #findDataTypeFieldReferences(Accumulator, FieldMatcher, Program,
boolean, TaskMonitor)}.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/ReferenceUtils.java