private Integer resolveMapMaxEntries(MemberScope<?, ?> member) {
        Size sizeAnnotation = this.getAnnotationFromFieldOrGetter(member, Size.class, Size::groups);
        if (sizeAnnotation != null && sizeAnnotation.max() < 2147483647) {
            // maximum value below the default 2147483647 was specified
            return sizeAnnotation.max();
        }
        return null;
    }
Determine a given {@link Map} type's maximum number of entries.

@param member the field or method to check (assumption: the member has a Map type)
@return specified maximum number of map entries (or null)
@see Size

@since 4.28.0
jsonschema-module-jakarta-validation/src/main/java/com/github/victools/jsonschema/module/jakarta/validation/JakartaValidationModule.java