public List<DIEAggregate> getTypeReferers(DIEAggregate targetDIEA, DWARFTag tag) {
		List<DIEAggregate> result = new ArrayList<>();

		for (DIEAggregate referer : getTypeReferers(targetDIEA)) {
			if (referer.getTag() == tag) {
				result.add(referer);
			}
		}
		return result;
	}
Returns a list of {@link DIEAggregate}s that refer to the targetDIEA via an
attribute of the specified tag type.

@param targetDIEA {@link DIEAggregate} that might be pointed to by other DIEAs.
@param tag the {@link DWARFTag} attribute type that is pointing DIEAs are using
to refer to the target DIEA.
@return list of DIEAs that point to the target, empty list if nothing found.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFProgram.java