public static String getReferenceDetails(CodeUnit cu) {
		if (cu == null) {
			return "You must be on a code unit to see the details.";
		}
		StringBuffer buf = new StringBuffer();
		buf.append("References: " + NEW_LINE);
		buf.append(getProgramRefDetails(cu.getProgram(), cu.getReferencesFrom()));
		return buf.toString();
	}
Gets a string that indicates the references from a code unit.
This can contain new line characters.
<br>Note: Data currently only indicates references on the minimum address.
@param cu the code unit
@return info about the code unit's references.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/CodeUnitDetails.java