code: public static Annotation detachedAnnotation(@NonNull AnnotationType type, int start, int end) {
        return new Annotation(type, start, end);
     }
docs: Creates a detached annotation, i.e. no document associated with it.
  
  @param type  the type of annotation
  @param start the start of the span
  @param end   the end of the span
  @return the annotation