code: static Set<String> determineImportOnUpdatePaths(
              String templateLoc, Set<String> relResourcePathSet) {
          String templateLocPath = templateLoc.split("\\*")[0]; // up to wildcard pattern
          if (!templateLocPath.endsWith("/")) {
              templateLocPath = templateLocPath + "/";
          }
          final Set<String> fullResourcePathSet = new HashSet<>();
          for (String resourcePath : relResourcePathSet) {
              final String fullPath;
              try {
                  fullPath =
                          resourcePath.matches("^[a-zA-Z]+:.*")
                                  ? resourcePath
                                  : (new URI(templateLocPath).resolve(resourcePath)).toString();
              } catch (URISyntaxException e) {
                  throw new RuntimeException(
                          "Unable to construct a URI by resolving '"
                                  + resourcePath
                                  + "'from '"
                                  + templateLocPath
                                  + "'");
              }
              log.debug("Calculated full path: {} -> {}", resourcePath, fullPath);
              fullResourcePathSet.add(fullPath);
          }
          return fullResourcePathSet;
      }
docs: /*package