public final static Address[] getXRefList(CodeUnit cu) {
		return getXRefList(cu, -1); // get all 
	}
Returns an array containing all
direct xref addresses to the specified code unit.

@param cu the code unit to generate the xrefs

@return array of all xrefs to the code unit
Ghidra/Features/Base/src/main/java/ghidra/app/util/XReferenceUtil.java