class JsonCnd {

    static Fun.ThrowingFunction<Name, String> jcrNameOrResidual(final @NotNull NamePathResolver resolver) {
        return qName -> {
            if (QNAME_RESIDUAL.equals(qName)) {
                return TOKEN_RESIDUAL;
            } else {
                return resolver.getJCRName(qName);
            }
        };
    }

    private  JsonCnd();

}