helped Jonas to add his methodd for getAnnotationObject.