public static AnnotatedStringHandler getAnnotationHandler(String[] annotationParts) {

		if (annotationParts.length <= 1) {
			return new InvalidAnnotatedStringHandler(
				"Invalid annotation format." + " Expected at least two strings.");
		}

		// the first part is the annotation (@xxx)
		String keyword = annotationParts[0];
		AnnotatedStringHandler handler = getAnnotatedStringHandlerMap().get(keyword);

		if (handler == null) {
			return new InvalidAnnotatedStringHandler("Invalid annotation keyword: " + keyword);
		}
		return handler;
	}
Returns the annotation handler for the given annotation parts.   If no handler can be found,
then the {@link InvalidAnnotatedStringHandler} will be returned with n error message.
@param annotationParts the annotation parts
@return the handler
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/CommentUtils.java