code: public Annotation next(@NonNull AnnotationType type) {
        return document() == null ? Fragments.detachedEmptyAnnotation() : document().getAnnotationSet().next(this, type);
     }
docs: Gets the annotation of a given type that is next in order (of span) to this one
  
  @param type the type of annotation wanted
  @return the next annotation of the given type or null