test_class.file: beanmother-core/src/test/java/io/beanmother/core/converter/KnownConverterModuleLoaderTest.java
test_class.identifier: KnownConverterModuleLoaderTest
test_case.body: @Test
      public void testLoadConverterModule() {
          List<ConverterModule> modules =  KnownConverterModuleLoader.load();
          ConverterModule converterModule = null;
  
          for (ConverterModule module : modules) {
              if (module instanceof DummyConverterModule) {
                  converterModule = module;
              }
          }
  
          Assert.assertNotNull(converterModule);
      }
test_case.class_method_signature: KnownConverterModuleLoaderTest.testLoadConverterModule()
test_case.full_signature: @Test public void testLoadConverterModule()
test_case.identifier: testLoadConverterModule
test_case.invocations: load assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoadConverterModule()
focal_class.declarator: knownConverterModules
focal_class.modifier: private final static
focal_class.original_string: private final static String[] knownConverterModules;
focal_class.type: String[]
focal_class.var_name: knownConverterModules
focal_class.file: beanmother-core/src/main/java/io/beanmother/core/converter/KnownConverterModuleLoader.java
focal_class.identifier: KnownConverterModuleLoader
focal_class.class_method_signature: KnownConverterModuleLoader.load()
focal_class.full_signature: @SuppressWarnings("unchecked") public static List<ConverterModule> load()
focal_class.identifier: load
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: ()
focal_class.return: List<ConverterModule>
focal_class.signature: List<ConverterModule> load()
focal_method.body: @SuppressWarnings("unchecked")
      public static List<ConverterModule> load() {
          List<ConverterModule> modules = new ArrayList<>();
  
          ClassLoader classLoader = ClassUtils.getDefaultClassLoader();
          for (String klass : knownConverterModules) {
              try {
                  Class<? extends ConverterModule> module = (Class<? extends ConverterModule>) classLoader.loadClass(klass);
                  try {
                      modules.add(module.newInstance());
                  } catch (Exception e) {
                      e.printStackTrace();
                  }
              } catch (ClassNotFoundException e) {
                  // Do nothing
              } catch (ClassCastException e) {
                  // Do nothing
              }
          }
          return modules;
      }
focal_method.class_method_signature: KnownConverterModuleLoader.load()
focal_method.full_signature: @SuppressWarnings("unchecked") public static List<ConverterModule> load()
focal_method.identifier: load
focal_method.invocations: getDefaultClassLoader loadClass add newInstance printStackTrace
focal_method.modifiers: @SuppressWarnings("unchecked") public static
focal_method.parameters: ()
focal_method.return: List<ConverterModule>
focal_method.signature: List<ConverterModule> load()