ModelMapper.createAnnotation(annotatedObject.asIObject(), data), (new PojoOptions()).map());
ModelMapper.createAnnotation(ho, data), (new PojoOptions()).map());
    public DataObject createAnnotationFor(DataObject annotatedObject,                                        AnnotationData data)            throws DSOutOfServiceException, DSAccessException    {        if (data == null)             throw new IllegalArgumentException("No annotation to create.");        if (annotatedObject == null)             throw new IllegalArgumentException("No DataObject to annotate.");         if (!(annotatedObject instanceof ImageData) &&                 !(annotatedObject instanceof DatasetData))            throw new IllegalArgumentException("This method only supports " +                    "ImageData and DatasetData objects.");        IObject object = gateway.createObject(                ModelMapper.createAnnotation(annotatedObject.asIObject(),                                             data), (new PojoOptions()).map());        return PojoMapper.asDataObject(ModelMapper.getAnnotatedObject(object));    }