code: private String getFullPathForLog(OutputResult or, String targetFilename) {
          if (or.sameDirectory()) {
              return targetFilename;
          } else {
              return or.getGeneratedSource().getFullPath(targetFilename);
          }
      }
docs: Use it only to display proper path in log
  
  @param targetFilename