test_class.file: kilt-core/src/test/java/de/poiu/kilt/facade/creation/BundleNormalizerTest.java
test_class.identifier: BundleNormalizerTest
test_case.body: @Test
    public void testNormalize_alreadyNormalized() {
      final String input = "This_is_a_funky_String_aeAEueyAE14_ss";
      final String expected= "This_is_a_funky_String_aeAEueyAE14_ss";
  
      final String actual= BundleNormalizer.normalize(input);
  
      assertThat(actual).isEqualTo(expected);
    }
test_case.class_method_signature: BundleNormalizerTest.testNormalize_alreadyNormalized()
test_case.full_signature: @Test public void testNormalize_alreadyNormalized()
test_case.identifier: testNormalize_alreadyNormalized
test_case.invocations: normalize isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNormalize_alreadyNormalized()
focal_class.declarator: LOGGER= Logger.getLogger(BundleNormalizer.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER= Logger.getLogger(BundleNormalizer.class.getName());
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: UMLAUT_REPLACEMENTS= ImmutableMap.<String, String>builder()
            .put("ä", "ae")
            .put("Ä", "AE")
            .put("ö", "oe")
            .put("Ö", "OE")
            .put("ü", "ue")
            .put("Ü", "UE")
            .put("ß", "ss")
            .put("ẞ", "SS")
            .put("Æ", "AE")
            .put("Œ", "OE")
            .build()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<String, String> UMLAUT_REPLACEMENTS= ImmutableMap.<String, String>builder()
            .put("ä", "ae")
            .put("Ä", "AE")
            .put("ö", "oe")
            .put("Ö", "OE")
            .put("ü", "ue")
            .put("Ü", "UE")
            .put("ß", "ss")
            .put("ẞ", "SS")
            .put("Æ", "AE")
            .put("Œ", "OE")
            .build();
focal_class.type: Map<String, String>
focal_class.var_name: UMLAUT_REPLACEMENTS
focal_class.file: kilt-core/src/main/java/de/poiu/kilt/facade/creation/BundleNormalizer.java
focal_class.identifier: BundleNormalizer
focal_class.class_method_signature: BundleNormalizer.toClassName(String s)
focal_class.full_signature: public static String toClassName(String s)
focal_class.identifier: toClassName
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String toClassName(String s)
focal_class.class_method_signature: BundleNormalizer.toFieldName(String s)
focal_class.full_signature: public static String toFieldName(String s)
focal_class.identifier: toFieldName
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String toFieldName(String s)
focal_class.class_method_signature: BundleNormalizer.toConstName(String s)
focal_class.full_signature: public static String toConstName(String s)
focal_class.identifier: toConstName
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String toConstName(String s)
focal_class.class_method_signature: BundleNormalizer.toBundleName(String s)
focal_class.full_signature: public static String toBundleName(String s)
focal_class.identifier: toBundleName
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String toBundleName(String s)
focal_class.class_method_signature: BundleNormalizer.normalize(String s)
focal_class.full_signature: protected static String normalize(String s)
focal_class.identifier: normalize
focal_class.modifiers: protected static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String normalize(String s)
focal_class.class_method_signature: BundleNormalizer.replaceUmlauts(final String s)
focal_class.full_signature: protected static String replaceUmlauts(final String s)
focal_class.identifier: replaceUmlauts
focal_class.modifiers: protected static
focal_class.parameters: (final String s)
focal_class.return: String
focal_class.signature: String replaceUmlauts(final String s)
focal_method.body: protected static String normalize(String s) {
      Require.nonNull(s, "parameter s may not be null or empty.");
  
      // first replace umlauts with two-characters
      s= replaceUmlauts(s);
  
      // then replace some special characters
      s= s.replaceAll("[\\ \\.\\-\n/]+", "_");
  
      // then remove all diacritics and all characters not US_ASCII or numbers
      s= Normalizer
              .normalize(s, Normalizer.Form.NFKD)
              .replaceAll("[^\\P{M}]", "")
              .replaceAll("[^\\p{Alnum}\\_\\-\\ ]", "");
  
      // then replace multiple underscores with only one underscore
      s= s.replaceAll("[_]+", "_");
  
      // remove all leading and trailing underscores
      s= s.replaceAll("^_", "").replaceAll("_$", "");
  
      return s;
    }
focal_method.class_method_signature: BundleNormalizer.normalize(String s)
focal_method.full_signature: protected static String normalize(String s)
focal_method.identifier: normalize
focal_method.invocations: nonNull replaceUmlauts replaceAll replaceAll replaceAll normalize replaceAll replaceAll replaceAll
focal_method.modifiers: protected static
focal_method.parameters: (String s)
focal_method.return: String
focal_method.signature: String normalize(String s)