[TIMOB-17988]: Update signature of addAnnotations method

Testing steps in JIRA