public static DIEAggregate getReferringTypedef(DIEAggregate diea) {
		if (diea == null) {
			return null;
		}
		List<DIEAggregate> referers = diea.getProgram().getTypeReferers(diea, DW_TAG_typedef);
		return (referers.size() == 1) ? referers.get(0) : null;
	}
Returns the {@link DIEAggregate} of a typedef that points to the specified datatype.
<p>
Returns null if there is no typedef pointing to the specified DIEA or if there are
multiple.

@param diea {@link DIEAggregate} of a data type that might be the target of typedefs.
@return {@link DIEAggregate} of the singular typedef that points to the arg, otherwise
null if none or multiple found.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFProgram.java