code: public void addCreatedResource(Location location, Resource resource) {
          resourceList.add(resource);
          locationToResourceMap.put(location, resource);
      }
docs: Add a resource created within the analyzed method.
  
  @param location
  the location
  @param resource
  the resource created at that location