Updated sample according to changes in Groupdocs.Annotation for Java.