docs: public static boolean hasDirectAnnotationWithSimpleName(Symbol sym, String simpleName) {
      for (AnnotationMirror annotation : sym.getAnnotationMirrors()) {
        if (annotation.getAnnotationType().asElement().getSimpleName().contentEquals(simpleName)) {
          return true;
        }
      }
      return false;
    }