test_class.file: dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/command/util/CommandHelperTest.java
test_class.identifier: CommandHelperTest
test_case.body: @Test
      public void testGetCommandClass() throws Exception {
          assertThat(CommandHelper.getCommandClass("greeting"), equalTo(GreetingCommand.class));
          assertNull(CommandHelper.getCommandClass("not-exiting"));
      }
test_case.class_method_signature: CommandHelperTest.testGetCommandClass()
test_case.full_signature: @Test public void testGetCommandClass()
test_case.identifier: testGetCommandClass
test_case.invocations: assertThat getCommandClass equalTo assertNull getCommandClass
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetCommandClass()
focal_class.file: dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/util/CommandHelper.java
focal_class.identifier: CommandHelper
focal_class.class_method_signature: CommandHelper.CommandHelper()
focal_class.full_signature: private  CommandHelper()
focal_class.identifier: CommandHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CommandHelper()
focal_class.class_method_signature: CommandHelper.hasCommand(String commandName)
focal_class.full_signature: public static boolean hasCommand(String commandName)
focal_class.identifier: hasCommand
focal_class.modifiers: public static
focal_class.parameters: (String commandName)
focal_class.return: boolean
focal_class.signature: boolean hasCommand(String commandName)
focal_class.class_method_signature: CommandHelper.getAllCommandClass()
focal_class.full_signature: public static List<Class<?>> getAllCommandClass()
focal_class.identifier: getAllCommandClass
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: List<Class<?>>
focal_class.signature: List<Class<?>> getAllCommandClass()
focal_class.class_method_signature: CommandHelper.getCommandClass(String commandName)
focal_class.full_signature: public static Class<?> getCommandClass(String commandName)
focal_class.identifier: getCommandClass
focal_class.modifiers: public static
focal_class.parameters: (String commandName)
focal_class.return: Class<?>
focal_class.signature: Class<?> getCommandClass(String commandName)
focal_method.body: public static Class<?> getCommandClass(String commandName) {
          if (hasCommand(commandName)) {
              return ExtensionLoader.getExtensionLoader(BaseCommand.class).getExtension(commandName).getClass();
          } else {
              return null;
          }
      }
focal_method.class_method_signature: CommandHelper.getCommandClass(String commandName)
focal_method.full_signature: public static Class<?> getCommandClass(String commandName)
focal_method.identifier: getCommandClass
focal_method.invocations: hasCommand getClass getExtension getExtensionLoader
focal_method.modifiers: public static
focal_method.parameters: (String commandName)
focal_method.return: Class<?>
focal_method.signature: Class<?> getCommandClass(String commandName)