private static String getProgramRefDetails(Program pgm, Reference[] refs) {
		String indent = INDENT1;
		if (refs.length == 0) {
			return indent + "None";
		}
		StringBuffer buf = new StringBuffer();
		for (Reference ref : refs) {
			if (ref.isExternalReference()) {
				buf.append(indent + "External Reference " + getRefInfo(pgm, ref) + NEW_LINE);
			}
			else if (ref.isStackReference()) {
				buf.append(indent + "Stack Reference " + getRefInfo(pgm, ref) + NEW_LINE);
			}
			else {
				buf.append(indent + "Reference " + getRefInfo(pgm, ref) + NEW_LINE);
			}
		}
		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