private String[] parseAnnotationText(String text) {

		String trimmed = text.substring(2, text.length() - 1); // remove "{@" and '}' 
		List<String> tokens = new ArrayList<>();
		List<TextPart> parts = parseText(trimmed);
		for (TextPart part : parts) {
			part.grabTokens(tokens);
		}

		return tokens.toArray(new String[tokens.size()]);
	}
Constructor
<b>Note</b>: This constructor assumes that the string starts with "{<pre>@</pre>" and ends with '}'

@param annotationText The complete annotation text.
text this Annotation can create
@param program the program
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/Annotation.java