code: private String asPath(String path, boolean generatedResource) {
  
  		String result = path;
  		if (!generatedResource) {
  			result = PathNormalizer.asPath(path);
  		}
  		return result;
  	}
docs: Normalizes a path and adds a separator at its start, if it's not a
  generated resource.
  
  @param path
  the path
  @param generatedResource
  the flag indicating if the resource has been generated
  @return the normalized path