@Override
    public <A extends Annotation> A getContainerItemAnnotationConsideringFieldAndGetter(Class<A> annotationClass,
            Predicate<Annotation> considerOtherAnnotation) {
        A annotation = this.getContainerItemAnnotation(annotationClass, considerOtherAnnotation);
        if (annotation == null) {
            MemberScope<?, ?> associatedGetter = this.findGetter();
            annotation = associatedGetter == null ? null : associatedGetter.getContainerItemAnnotation(annotationClass, considerOtherAnnotation);
        }
        return annotation;
    }
Determine whether the field's declaring class contains a matching method starting with "get" or "is".

@return whether a matching getter exists in the field's declaring class
@see #findGetter()
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/FieldScope.java