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 testGetAllCommandClass() throws Exception {
          List<Class<?>> classes = CommandHelper.getAllCommandClass();
          assertThat(classes,
                  containsInAnyOrder(GreetingCommand.class, Help.class, Ls.class, Offline.class, Online.class, Quit.class,
                          Ready.class, Version.class, PublishMetadata.class));
      }
test_case.class_method_signature: CommandHelperTest.testGetAllCommandClass()
test_case.full_signature: @Test public void testGetAllCommandClass()
test_case.identifier: testGetAllCommandClass
test_case.invocations: getAllCommandClass assertThat containsInAnyOrder
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetAllCommandClass()
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 List<Class<?>> getAllCommandClass() {
          final Set<String> commandList = ExtensionLoader.getExtensionLoader(BaseCommand.class).getSupportedExtensions();
          final List<Class<?>> classes = new ArrayList<Class<?>>();
  
          for (String commandName : commandList) {
              BaseCommand command = ExtensionLoader.getExtensionLoader(BaseCommand.class).getExtension(commandName);
              classes.add(command.getClass());
          }
  
          return classes;
      }
focal_method.class_method_signature: CommandHelper.getAllCommandClass()
focal_method.full_signature: public static List<Class<?>> getAllCommandClass()
focal_method.identifier: getAllCommandClass
focal_method.invocations: getSupportedExtensions getExtensionLoader getExtension getExtensionLoader add getClass
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: List<Class<?>>
focal_method.signature: List<Class<?>> getAllCommandClass()