src/com/google/javascript/jscomp/gwt/client/GwtRunner.java
/**
   * @param externs Array of strings or File[]. If running under NodeJS, an array of strings will be
   *     treated as file paths and loaded via the native node fs module.
   * @return Array of extern File objects. If an array of strings is passed without running under
   *     node, return null to indicate failure.
   */
@param externs Array of strings or File[]. If running under NodeJS, an array of strings will be
treated as file paths and loaded via the native node fs module.
@return Array of extern File objects. If an array of strings is passed without running under
node, return null to indicate failure.
@param externs Array of strings or File [] . If running under NodeJS an array of strings will be treated as file paths and loaded via the native node fs module . @return Array of extern File objects . If an array of strings is passed without running under node return null to indicate failure .
private static native File[] fromExternsFlag(Object[] externs) /*-{
    var externFiles = [];
    for (var i = 0; i < externs.length; i++) {
      if (externs[i].path || externs[i].src) {
        externFiles.push(externs[i]);
      } else if (typeof process === 'object' && process.version) {
        externFiles.push({
          path: externs[i],
          src: require('fs').readFileSync(externs[i], 'utf8')
        });
      } else {
        return null;
      }
    }
    return externFiles;
  }-*/;
private static native File [ ] fromExternsFlag ( Object [ ] externs ) /*-{
    var externFiles = [];
    for (var i = 0; i < externs.length; i++) {
      if (externs[i].path || externs[i].src) {
        externFiles.push(externs[i]);
      } else if (typeof process === 'object' && process.version) {
        externFiles.push({
          path: externs[i],
          src: require('fs').readFileSync(externs[i], 'utf8')
        });
      } else {
        return null;
      }
    }
    return externFiles;
  }-*/ ;
@param externs Array of strings or File[].
@param externs Array of strings or File [] .