public ScreenElement getScreenElement(Program p, Reference r) {
		if (r.isExternalReference()) {
			ExternalLocation extLoc = ((ExternalReference) r).getExternalLocation();
			String libName = extLoc.getLibraryName();
			return getExternalPathScreenElement(p, libName);
		}
		return null;
	}
Get the ScreenElement corresponding to the type of the reference.
@param p the program
@param r the reference to inspect
@return the screen element
Ghidra/Features/Base/src/main/java/ghidra/app/util/SymbolInspector.java