private static <T> T swing(CancellableFunction<T, T> f, T t) throws CancelledException {

		AtomicBoolean wasCancelled = new AtomicBoolean();
		T result = Swing.runNow(() -> {

			try {
				return f.apply(t);
			}
			catch (CancelledException e) {
				wasCancelled.set(true);
				return null;
			}
		});

		if (wasCancelled.get()) {
			throw new CancelledException();
		}

		return result;
	}
Returns the repeatable comment at the specified address.  If you want the raw text,
then you must call {@link #getRepeatableComment(Address)}.  This method returns the text as
seen in the display.

@param address the address to get the comment
@return the repeatable comment at the specified address or null if one does not exist
@see #getRepeatableComment(Address)
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java