code: public static UICategory create(UICategory category, String... categories)
     {
        Assert.notNull(category, "Parent UICategory must not be null.");
        Assert.notNull(categories, "Sub categories must not be null.");
        List<String> args = new ArrayList<>();
        args.add(category.getName());
        args.addAll(Arrays.asList(categories));
        return create(args.toArray(new String[args.size()]));
     }
docs: Using the given {@link UICategory} as a parent, produce a hierarchical {@link UICategory} instance from the given
  sub-category names.