protected boolean shouldIgnoreField(FieldScope field) {
        if (field.getAnnotationConsideringFieldAndGetterIfSupported(JsonBackReference.class, NESTED_ANNOTATION_CHECK) != null) {
            return true;
        }
        // @since 4.32.0
        JsonUnwrapped unwrappedAnnotation = field.getAnnotationConsideringFieldAndGetterIfSupported(JsonUnwrapped.class, NESTED_ANNOTATION_CHECK);
        if (unwrappedAnnotation != null && unwrappedAnnotation.enabled()) {
            // unwrapped properties should be ignored here, as they are included in their unwrapped form
            return true;
        }
        // instead of re-creating the various ways a property may be included/excluded in jackson: just use its built-in introspection
        HierarchicType topMostHierarchyType = field.getDeclaringTypeMembers().allTypesAndOverrides().get(0);
        BeanDescription beanDescription = this.getBeanDescriptionForClass(topMostHierarchyType.getType());
        // some kinds of field ignorals are only available via an annotation introspector
        Set<String> ignoredProperties = this.objectMapper.getSerializationConfig().getAnnotationIntrospector()
                .findPropertyIgnoralByName(null, beanDescription.getClassInfo()).getIgnored();
        String declaredName = field.getDeclaredName();
        if (ignoredProperties.contains(declaredName)) {
            return true;
        }
        // @since 4.37.0 also consider overridden property name as it may match the getter method
        String fieldName = field.getName();
        // other kinds of field ignorals are handled implicitly, i.e. are only available by way of being absent
        return beanDescription.findProperties().stream()
                .noneMatch(propertyDefinition -> declaredName.equals(propertyDefinition.getInternalName())
                        || fieldName.equals(propertyDefinition.getInternalName()));
    }
Determine whether a given field should be ignored, according to various jackson annotations for that purpose,
<br>
e.g. {@code JsonBackReference}, {@code JsonIgnore}, {@code JsonIgnoreType}, {@code JsonIgnoreProperties}

@param field field to check
@return whether field should be excluded
jsonschema-module-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JacksonModule.java