docs: public static void registerInterest(String sourceKey, String regex, String rewritePattern, TypeReferenceLocation... locations)
      {
          patternsBySource.put(sourceKey, new PatternAndLocation(locations, regex, rewritePattern));
      }