src/com/google/javascript/jscomp/AbstractCommandLineRunner.java
/**
     * Helper method to convert a list of entry points specifications to a list of the new
     * ModuleIdentifier values. The specifications can be in form of "path/to/module" for ES6 or
     * CommonJS modules, or "goog:some.Namespace" for Closure symbols.
     */
Helper method to convert a list of entry points specifications to a list of the new
ModuleIdentifier values. The specifications can be in form of "path/to/module" for ES6 or
CommonJS modules, or "goog:some.Namespace" for Closure symbols.
Helper method to convert a list of entry points specifications to a list of the new ModuleIdentifier values . The specifications can be in form of " path / to / module " for ES6 or CommonJS modules or " goog : some . Namespace " for Closure symbols .
static List<ModuleIdentifier> moduleIdentifiersForEntryPoints(List<String> entryPoints) {
      List<ModuleIdentifier> mids = new ArrayList<>();
      for (String entryPoint : entryPoints) {
        if (entryPoint.startsWith("goog:")) {
          mids.add(ModuleIdentifier.forClosure(entryPoint));
        } else {
          mids.add(ModuleIdentifier.forFile(entryPoint));
        }
      }
      return mids;
    }
static List < ModuleIdentifier > moduleIdentifiersForEntryPoints ( List < String > entryPoints ) { List < ModuleIdentifier > mids = new ArrayList < > ( ) ; for ( String entryPoint : entryPoints ) { if ( entryPoint . startsWith ( "goog:" ) ) { mids . add ( ModuleIdentifier . forClosure ( entryPoint ) ) ; } else { mids . add ( ModuleIdentifier . forFile ( entryPoint ) ) ; } } return mids ; }
Helper method to convert a list of entry points specifications to a list of the new
 ModuleIdentifier values.
Helper method to convert a list of entry points specifications to a list of the new ModuleIdentifier values .