test_class.file: watertemplate-jaxrs-binding/src/test/java/org/watertemplate/uri/ResourceURITest.java
test_class.identifier: ResourceURITest
test_case.body: @Test(expected = TemplateException.class)
      public void formatPathWithNotEnoughArgs() {
          ResourceURI.format("/{id}/{otherId}", 1L);
      }
test_case.class_method_signature: ResourceURITest.formatPathWithNotEnoughArgs()
test_case.full_signature: @Test(expected = TemplateException.class) public void formatPathWithNotEnoughArgs()
test_case.identifier: formatPathWithNotEnoughArgs
test_case.invocations: format
test_case.modifiers: @Test(expected = TemplateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void formatPathWithNotEnoughArgs()
focal_class.declarator: PATH_PARAM_REGEX = "\\{\\w+\\}"
focal_class.modifier: private static final
focal_class.original_string: private static final String PATH_PARAM_REGEX = "\\{\\w+\\}";
focal_class.type: String
focal_class.var_name: PATH_PARAM_REGEX
focal_class.file: watertemplate-jaxrs-binding/src/main/java/org/watertemplate/uri/ResourceURI.java
focal_class.identifier: ResourceURI
focal_class.class_method_signature: ResourceURI.format(String staticPath, final Object... args)
focal_class.full_signature: public static String format(String staticPath, final Object... args)
focal_class.identifier: format
focal_class.modifiers: public static
focal_class.parameters: (String staticPath, final Object... args)
focal_class.return: String
focal_class.signature: String format(String staticPath, final Object... args)
focal_method.body: public static String format(String staticPath, final Object... args) {
          for (final Object arg : args)
              staticPath = staticPath.replaceFirst(PATH_PARAM_REGEX, arg.toString());
  
          if (staticPath.matches(".*" + PATH_PARAM_REGEX + ".*"))
              throw new NotEnoughArgumentsException(staticPath);
  
          return staticPath;
      }
focal_method.class_method_signature: ResourceURI.format(String staticPath, final Object... args)
focal_method.full_signature: public static String format(String staticPath, final Object... args)
focal_method.identifier: format
focal_method.invocations: replaceFirst toString matches
focal_method.modifiers: public static
focal_method.parameters: (String staticPath, final Object... args)
focal_method.return: String
focal_method.signature: String format(String staticPath, final Object... args)