code: public static void registerInterest(String sourceKey, String regex, String rewritePattern, List<TypeReferenceLocation> locations)
      {
          registerInterest(sourceKey, regex, rewritePattern, locations.toArray(new TypeReferenceLocation[locations.size()]));
      }
docs: Register a regex pattern to filter interest in certain Java types.
  @param  sourceKey Identifier of who gave the pattern to us (so that we can update it)