test_class.file: gp-maven-plugin/src/test/java/com/ibm/g11n/pipeline/maven/RegexMapperTest.java
test_class.identifier: RegexMapperTest
test_case.body: @Test
      public void testMap() {
          final String[][] TESTS = {
                  {"com/ibm/g11n/Test.java", "(.+)\\.java", "$1", "com/ibm/g11n/Test"},
                  {"com/ibm/g11n/Test", "/", "\\.", "com.ibm.g11n.Test"},
                  {"abc-123", "def", "xyz", "abc-123"},   // no matches
          };
  
          for (String[] test : TESTS) {
              RegexMapper mapper = new RegexMapper(test[1], test[2]);
              String result = mapper.map(test[0]);
              Assert.assertEquals(result, test[3]);
          }
      }
test_case.class_method_signature: RegexMapperTest.testMap()
test_case.full_signature: @Test public void testMap()
test_case.identifier: testMap
test_case.invocations: map assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMap()
focal_class.declarator: pattern
focal_class.modifier: @Parameter(required = true)
      private
focal_class.original_string: @Parameter(required = true)
      private String pattern;
focal_class.type: String
focal_class.var_name: pattern
focal_class.declarator: replacement
focal_class.modifier: @Parameter(required = true)
      private
focal_class.original_string: @Parameter(required = true)
      private String replacement;
focal_class.type: String
focal_class.var_name: replacement
focal_class.file: gp-maven-plugin/src/main/java/com/ibm/g11n/pipeline/maven/RegexMapper.java
focal_class.identifier: RegexMapper
focal_class.class_method_signature: RegexMapper.RegexMapper()
focal_class.full_signature: public  RegexMapper()
focal_class.identifier: RegexMapper
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RegexMapper()
focal_class.class_method_signature: RegexMapper.RegexMapper(String pattern, String replacement)
focal_class.full_signature: public  RegexMapper(String pattern, String replacement)
focal_class.identifier: RegexMapper
focal_class.modifiers: public
focal_class.parameters: (String pattern, String replacement)
focal_class.signature:  RegexMapper(String pattern, String replacement)
focal_class.class_method_signature: RegexMapper.getPattern()
focal_class.full_signature: public String getPattern()
focal_class.identifier: getPattern
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPattern()
focal_class.class_method_signature: RegexMapper.setPattern(String pattern)
focal_class.full_signature: public void setPattern(String pattern)
focal_class.identifier: setPattern
focal_class.modifiers: public
focal_class.parameters: (String pattern)
focal_class.return: void
focal_class.signature: void setPattern(String pattern)
focal_class.class_method_signature: RegexMapper.getReplacement()
focal_class.full_signature: public String getReplacement()
focal_class.identifier: getReplacement
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getReplacement()
focal_class.class_method_signature: RegexMapper.setReplacement(String replacement)
focal_class.full_signature: public void setReplacement(String replacement)
focal_class.identifier: setReplacement
focal_class.modifiers: public
focal_class.parameters: (String replacement)
focal_class.return: void
focal_class.signature: void setReplacement(String replacement)
focal_class.class_method_signature: RegexMapper.map(String s)
focal_class.full_signature: public String map(String s)
focal_class.identifier: map
focal_class.modifiers: public
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String map(String s)
focal_method.body: public String map(String s) {
          assert pattern != null;
          assert replacement != null;
  
          return Pattern.compile(pattern).matcher(s).replaceAll(replacement);
      }
focal_method.class_method_signature: RegexMapper.map(String s)
focal_method.full_signature: public String map(String s)
focal_method.identifier: map
focal_method.invocations: replaceAll matcher compile
focal_method.modifiers: public
focal_method.parameters: (String s)
focal_method.return: String
focal_method.signature: String map(String s)