code: protected void addLinkedResources(String path, GeneratorContext context, List<FilePathMapping> fMappings) {
  		linkedResourceMap.put(getResourceCacheKey(path, context), new CopyOnWriteArrayList<>(fMappings));
  		JoinableResourceBundle bundle = context.getBundle();
  		if (bundle != null) {
  
  			List<FilePathMapping> bundleFMappings = bundle.getLinkedFilePathMappings();
  			for (FilePathMapping fMapping : fMappings) {
  				FilePathMapping fm = new FilePathMapping(bundle, fMapping.getPath(), fMapping.getLastModified());
  				if (!bundleFMappings.contains(fm)) {
  					bundleFMappings.add(fm);
  				}
  			}
  		}
  
  	}
docs: Adds the linked resource to the linked resource map
  
  @param path
  the resource path
  @param context
  the generator context
  @param fMappings
  the list of mappings linked to the resource