code: public static final NavigationResult navigateTo(Class<? extends UICommand> next)
     {
        if (next == null)
        {
           return null;
        }
        NavigationResultBuilder builder = navigationBuilder();
        builder.add(next);
        return builder.build();
     }
docs: Create a {@link NavigationResult} using the given {@link UICommand} type as the target.