test_class.file: ui/api/src/test/java/org/jboss/forge/addon/ui/util/CommandsTest.java
test_class.identifier: CommandsTest
test_case.body: @Test
     public void testShellifyCommandName()
     {
        Assert.assertEquals("i-o-jms-activemq", Commands.shellifyCommandName("I/O: JMS (ActiveMQ)"));
        Assert.assertEquals("add-remove-something", Commands.shellifyCommandName("Add/Remove (Something)"));
        Assert.assertEquals("enable-async-i-o-jdk8", Commands.shellifyCommandName("Enable Async I/O (JDK8)"));
     }
test_case.class_method_signature: CommandsTest.testShellifyCommandName()
test_case.full_signature: @Test public void testShellifyCommandName()
test_case.identifier: testShellifyCommandName
test_case.invocations: assertEquals shellifyCommandName assertEquals shellifyCommandName assertEquals shellifyCommandName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testShellifyCommandName()
focal_class.declarator: WHITESPACES = Pattern.compile("\\W+")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern WHITESPACES = Pattern.compile("\\W+");
focal_class.type: Pattern
focal_class.var_name: WHITESPACES
focal_class.declarator: COLONS = Pattern.compile("\\:")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern COLONS = Pattern.compile("\\:");
focal_class.type: Pattern
focal_class.var_name: COLONS
focal_class.declarator: log = Logger.getLogger(Commands.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = Logger.getLogger(Commands.class.getName());
focal_class.type: Logger
focal_class.var_name: log
focal_class.file: ui/api/src/main/java/org/jboss/forge/addon/ui/util/Commands.java
focal_class.identifier: Commands
focal_class.class_method_signature: Commands.getEnabledCommands(Iterable<UICommand> commands, UIContext context)
focal_class.full_signature: public static Iterable<UICommand> getEnabledCommands(Iterable<UICommand> commands, UIContext context)
focal_class.identifier: getEnabledCommands
focal_class.modifiers: public static
focal_class.parameters: (Iterable<UICommand> commands, UIContext context)
focal_class.return: Iterable<UICommand>
focal_class.signature: Iterable<UICommand> getEnabledCommands(Iterable<UICommand> commands, UIContext context)
focal_class.class_method_signature: Commands.isEnabled(UICommand command, UIContext context)
focal_class.full_signature: public static boolean isEnabled(UICommand command, UIContext context)
focal_class.identifier: isEnabled
focal_class.modifiers: public static
focal_class.parameters: (UICommand command, UIContext context)
focal_class.return: boolean
focal_class.signature: boolean isEnabled(UICommand command, UIContext context)
focal_class.class_method_signature: Commands.getMetadata(UICommand command, UIContext context)
focal_class.full_signature: private static String getMetadata(UICommand command, UIContext context)
focal_class.identifier: getMetadata
focal_class.modifiers: private static
focal_class.parameters: (UICommand command, UIContext context)
focal_class.return: String
focal_class.signature: String getMetadata(UICommand command, UIContext context)
focal_class.class_method_signature: Commands.shellifyName(String name)
focal_class.full_signature: private static String shellifyName(String name)
focal_class.identifier: shellifyName
focal_class.modifiers: private static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String shellifyName(String name)
focal_class.class_method_signature: Commands.shellifyCommandName(String name)
focal_class.full_signature: public static String shellifyCommandName(String name)
focal_class.identifier: shellifyCommandName
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String shellifyCommandName(String name)
focal_class.class_method_signature: Commands.shellifyOptionName(String name)
focal_class.full_signature: public static String shellifyOptionName(String name)
focal_class.identifier: shellifyOptionName
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String shellifyOptionName(String name)
focal_class.class_method_signature: Commands.shellifyOptionValue(String value)
focal_class.full_signature: public static String shellifyOptionValue(String value)
focal_class.identifier: shellifyOptionValue
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: String
focal_class.signature: String shellifyOptionValue(String value)
focal_class.class_method_signature: Commands.shellifyOptionNameDashed(String name)
focal_class.full_signature: public static String shellifyOptionNameDashed(String name)
focal_class.identifier: shellifyOptionNameDashed
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String shellifyOptionNameDashed(String name)
focal_method.body: public static String shellifyCommandName(String name)
     {
        return shellifyName(name).toLowerCase();
     }
focal_method.class_method_signature: Commands.shellifyCommandName(String name)
focal_method.full_signature: public static String shellifyCommandName(String name)
focal_method.identifier: shellifyCommandName
focal_method.invocations: toLowerCase shellifyName
focal_method.modifiers: public static
focal_method.parameters: (String name)
focal_method.return: String
focal_method.signature: String shellifyCommandName(String name)