test_class.file: shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/yaml/swapper/YamlRuleConfigurationSwapperEngineTest.java
test_class.identifier: YamlRuleConfigurationSwapperEngineTest
test_case.body: @Test
      public void assertGetYamlShortcuts() {
          Map<String, Class<?>> actual = YamlRuleConfigurationSwapperEngine.getYamlShortcuts();
          assertThat(actual.size(), is(1));
      }
test_case.class_method_signature: YamlRuleConfigurationSwapperEngineTest.assertGetYamlShortcuts()
test_case.full_signature: @Test public void assertGetYamlShortcuts()
test_case.identifier: assertGetYamlShortcuts
test_case.invocations: getYamlShortcuts assertThat size is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGetYamlShortcuts()
focal_class.file: shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/swapper/YamlRuleConfigurationSwapperEngine.java
focal_class.identifier: YamlRuleConfigurationSwapperEngine
focal_class.class_method_signature: YamlRuleConfigurationSwapperEngine.swapToYamlConfigurations(final Collection<RuleConfiguration> ruleConfigurations)
focal_class.full_signature: @SuppressWarnings("unchecked") public Collection<YamlRuleConfiguration> swapToYamlConfigurations(final Collection<RuleConfiguration> ruleConfigurations)
focal_class.identifier: swapToYamlConfigurations
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final Collection<RuleConfiguration> ruleConfigurations)
focal_class.return: Collection<YamlRuleConfiguration>
focal_class.signature: Collection<YamlRuleConfiguration> swapToYamlConfigurations(final Collection<RuleConfiguration> ruleConfigurations)
focal_class.class_method_signature: YamlRuleConfigurationSwapperEngine.swapToRuleConfigurations(final Collection<YamlRuleConfiguration> yamlRuleConfigs)
focal_class.full_signature: public Collection<RuleConfiguration> swapToRuleConfigurations(final Collection<YamlRuleConfiguration> yamlRuleConfigs)
focal_class.identifier: swapToRuleConfigurations
focal_class.modifiers: public
focal_class.parameters: (final Collection<YamlRuleConfiguration> yamlRuleConfigs)
focal_class.return: Collection<RuleConfiguration>
focal_class.signature: Collection<RuleConfiguration> swapToRuleConfigurations(final Collection<YamlRuleConfiguration> yamlRuleConfigs)
focal_class.class_method_signature: YamlRuleConfigurationSwapperEngine.swapToRuleConfigurations(final Collection<YamlRuleConfiguration> yamlRuleConfigurations, 
                                                                     final Class<?> ruleConfigurationType, final YamlRuleConfigurationSwapper swapper)
focal_class.full_signature: @SuppressWarnings("unchecked") private Collection<RuleConfiguration> swapToRuleConfigurations(final Collection<YamlRuleConfiguration> yamlRuleConfigurations, 
                                                                     final Class<?> ruleConfigurationType, final YamlRuleConfigurationSwapper swapper)
focal_class.identifier: swapToRuleConfigurations
focal_class.modifiers: @SuppressWarnings("unchecked") private
focal_class.parameters: (final Collection<YamlRuleConfiguration> yamlRuleConfigurations, 
                                                                     final Class<?> ruleConfigurationType, final YamlRuleConfigurationSwapper swapper)
focal_class.return: Collection<RuleConfiguration>
focal_class.signature: Collection<RuleConfiguration> swapToRuleConfigurations(final Collection<YamlRuleConfiguration> yamlRuleConfigurations, 
                                                                     final Class<?> ruleConfigurationType, final YamlRuleConfigurationSwapper swapper)
focal_class.class_method_signature: YamlRuleConfigurationSwapperEngine.getYamlShortcuts()
focal_class.full_signature: @SneakyThrows(ReflectiveOperationException.class) public static Map<String, Class<?>> getYamlShortcuts()
focal_class.identifier: getYamlShortcuts
focal_class.modifiers: @SneakyThrows(ReflectiveOperationException.class) public static
focal_class.parameters: ()
focal_class.return: Map<String, Class<?>>
focal_class.signature: Map<String, Class<?>> getYamlShortcuts()
focal_method.body: @SneakyThrows(ReflectiveOperationException.class)
      public static Map<String, Class<?>> getYamlShortcuts() {
          Map<String, Class<?>> result = new HashMap<>();
          for (YamlRuleConfigurationSwapper each : ShardingSphereServiceLoader.newServiceInstances(YamlRuleConfigurationSwapper.class)) {
              Class<?> yamlRuleConfigurationClass = Class.forName(((ParameterizedType) each.getClass().getGenericInterfaces()[0]).getActualTypeArguments()[0].getTypeName());
              result.put("!" + each.getRuleTagName(), yamlRuleConfigurationClass);
          }
          return result;
      }
focal_method.class_method_signature: YamlRuleConfigurationSwapperEngine.getYamlShortcuts()
focal_method.full_signature: @SneakyThrows(ReflectiveOperationException.class) public static Map<String, Class<?>> getYamlShortcuts()
focal_method.identifier: getYamlShortcuts
focal_method.invocations: newServiceInstances forName getTypeName getActualTypeArguments getGenericInterfaces getClass put getRuleTagName
focal_method.modifiers: @SneakyThrows(ReflectiveOperationException.class) public static
focal_method.parameters: ()
focal_method.return: Map<String, Class<?>>
focal_method.signature: Map<String, Class<?>> getYamlShortcuts()