private boolean skipSubtypeResolution(MemberScope<?, ?> member) {
        return member.getType() == null
                || this.identityReferenceProvider.flatMap(idRefProvider -> idRefProvider.getIdentityReferenceType(member)).isPresent();
    }
Check whether to skip the subtype handling for a particular field/method (e.g. when {@code JacksonOption.JSONIDENTITY_REFERENCE_ALWAYS_AS_ID}
applies instead).

@param member field/method for which a potential subtype should be resolved (or not)
@return whether to skip the subtype resolution for the given field/method
jsonschema-module-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JsonSubTypesResolver.java