code: public boolean dependsOn(JSModule src, JSModule m) {
      return src != m && selfPlusTransitiveDeps[src.getIndex()].get(m.getIndex());
    }
docs: Determines whether this module depends on a given module. Note that a
  module never depends on itself, as that dependency would be cyclic.