code: protected String replaceVariables(String commentForGenerated, JvmDeclaredType jvmType) {
  		String result = commentForGenerated;
  		if (result.contains(GENERATED_COMMENT_VAR_SOURCE_FILE)) {
  			Resource resource = jvmType.eResource();
  			if (resource != null) {
  				URI uri = resource.getURI();
  				if (uri != null) {
  					String sourceFile = uri.lastSegment();
  					if (sourceFile == null)
  						sourceFile = uri.toString();
  					result = result.replace(GENERATED_COMMENT_VAR_SOURCE_FILE, sourceFile);
  				}
  			}
  		}
  		return result;
  	}
docs: Replace the variables contained in the comment to be written to the <code>@Generated</code> annotation.