public SchemaGeneratorGeneralConfigPart withAnchorResolver(ConfigFunction<TypeScope, String> resolver) {
        this.anchorResolvers.add(resolver);
        return this;
    }
Setter for "$anchor" resolver.

@param resolver how to determine the "$anchor" of a JSON Schema
@return this config part (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorGeneralConfigPart.java