public <A extends Annotation> A getAnnotationConsideringFieldAndGetterIfSupported(Class<A> annotationClass,
            Predicate<Annotation> considerOtherAnnotation) {
        if (this.isFakeContainerItemScope()) {
            return null;
        }
        return this.getAnnotationConsideringFieldAndGetter(annotationClass, considerOtherAnnotation);
    }
Return the annotation of the given type on the member, if such an annotation is present on either the field or its getter and this is not a
{@link #isFakeContainerItemScope() fake container item scope}.
<br>
Additionally, also consider annotations on annotations, if the given predicate indicates another annotation as eligible for holding the target.

@param <A> type of annotation
@param annotationClass type of annotation
@param considerOtherAnnotation check whether some other annotation should also be checked for holding an instance of the target annotation
@return annotation instance (or {@code null} if no annotation of the given type is present or the look-up is not supported by default)

@since 4.30.0
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MemberScope.java