docs: static Optional<Class<? extends Annotation>> getRegisteredAnnotationType(String name) {
          final Class<? extends Annotation> type = ANNOTATION_TYPES.get(name);
          if (type != null) {
              return Optional.of(type);
          }
          return Optional.empty();
      }