code: public Annotation floor(Annotation annotation, AnnotationType type) {
        if (annotation == null || type == null) {
           return Fragments.detachedEmptyAnnotation();
        }
        for (Annotation a : Collect.asIterable(new NodeIterator(root, -1, annotation.start(), type, false))) {
           if (a.isInstance(type) && a != annotation) {
              return a;
           }
        }
        return Fragments.detachedEmptyAnnotation();
     }
docs: Floor annotation.
  
  @param annotation the annotation
  @param type       the type
  @return the annotation