public <A extends Annotation> A getAnnotationConsideringFieldAndGetter(Class<A> annotationClass) {
        return this.getAnnotationConsideringFieldAndGetter(annotationClass, TypeContext.IGNORE_ANNOTATIONS_ON_ANNOTATIONS);
    }
Return the annotation of the given type on the member, if such an annotation is present on either the field or its getter.

@param <A> type of annotation
@param annotationClass type of annotation
@return annotation instance (or {@code null} if no annotation of the given type is present)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MemberScope.java