docs: static <T extends Annotation> boolean getterOrFieldHasAnnotation(
              Method getter, Class<T> annotationClass) {
          return getAnnotationFromGetterOrField(getter, annotationClass) != null;
      }