private static AttributedString getDisplayString(Annotation a, AttributedString prototype,
			Program program) {

		String[] annotationParts = a.getAnnotationParts();
		AnnotatedStringHandler handler = CommentUtils.getAnnotationHandler(annotationParts);

		AttributedString displayString;
		try {
			displayString = handler.createAnnotatedString(prototype, annotationParts, program);
		}
		catch (AnnotationException ae) {
			// uh-oh
			handler =
				new InvalidAnnotatedStringHandler("Annotation Exception: " + ae.getMessage());
			displayString = handler.createAnnotatedString(prototype, annotationParts, program);
		}

		return displayString;
	}
Returns the original annotation text in the data model, which will differ from the display
text.
@return the original annotation text in the data model.
Ghidra/Features/Base/src/main/java/ghidra/util/bean/field/AnnotatedTextFieldElement.java