test_class.file: ui/api/src/test/java/org/jboss/forge/addon/ui/util/CategoriesTest.java
test_class.identifier: CategoriesTest
test_case.body: @Test
     public void testSingleCategory()
     {
        UICategory category = Categories.create("ONE");
        Assert.assertNotNull(category);
        Assert.assertEquals("ONE", category.getName());
        Assert.assertNull(category.getSubCategory());
     }
test_case.class_method_signature: CategoriesTest.testSingleCategory()
test_case.full_signature: @Test public void testSingleCategory()
test_case.identifier: testSingleCategory
test_case.invocations: create assertNotNull assertEquals getName assertNull getSubCategory
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSingleCategory()
focal_class.declarator: DEFAULT = "Uncategorized"
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT = "Uncategorized";
focal_class.type: String
focal_class.var_name: DEFAULT
focal_class.file: ui/api/src/main/java/org/jboss/forge/addon/ui/util/Categories.java
focal_class.identifier: Categories
focal_class.class_method_signature: Categories.createDefault()
focal_class.full_signature: public static UICategory createDefault()
focal_class.identifier: createDefault
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: UICategory
focal_class.signature: UICategory createDefault()
focal_class.class_method_signature: Categories.create(UICategory category, String... categories)
focal_class.full_signature: public static UICategory create(UICategory category, String... categories)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (UICategory category, String... categories)
focal_class.return: UICategory
focal_class.signature: UICategory create(UICategory category, String... categories)
focal_class.class_method_signature: Categories.create(String... categories)
focal_class.full_signature: public static UICategory create(String... categories)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (String... categories)
focal_class.return: UICategory
focal_class.signature: UICategory create(String... categories)
focal_class.class_method_signature: Categories.getCategoryName(UICategory category)
focal_class.full_signature: public static String getCategoryName(UICategory category)
focal_class.identifier: getCategoryName
focal_class.modifiers: public static
focal_class.parameters: (UICategory category)
focal_class.return: String
focal_class.signature: String getCategoryName(UICategory category)
focal_method.body: 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()]));
     }
focal_method.class_method_signature: Categories.create(UICategory category, String... categories)
focal_method.full_signature: public static UICategory create(UICategory category, String... categories)
focal_method.identifier: create
focal_method.invocations: notNull notNull add getName addAll asList create toArray size
focal_method.modifiers: public static
focal_method.parameters: (UICategory category, String... categories)
focal_method.return: UICategory
focal_method.signature: UICategory create(UICategory category, String... categories)