class JsonCnd {

    public static Function<NodeTypeDefinition, QNodeTypeDefinition> adaptToQ(final @NotNull Session session) {
        final NamePathResolver resolver = new DefaultNamePathResolver(session);
        return nodeTypeDefinition -> new NodeTypeDefinitionQAdapter(nodeTypeDefinition, resolver);
    }

    private  JsonCnd();

}