docs: @Override
      public boolean hasAnnotation(Element element, Class<? extends Annotation> ann) {
          List<? extends AnnotationMirror> annotationMirrors = element.getAnnotationMirrors();
          for (AnnotationMirror annotationMirror : annotationMirrors) {
              if (annotationMirror.getAnnotationType().toString().equals(ann.getName())) {
                  return true;
              }
          }
          return false;
      }