Exemplo n.º 1
0
 public DubBundleResolution(
     SemanticManager manager,
     ResolvedManifest manifest,
     StandardLibraryResolution stdLibResolution) {
   super(
       manager,
       manifest.getBundleKey(),
       manager.createBundleModules(manifest.getBundle().getEffectiveImportFolders_AbsolutePath()),
       stdLibResolution,
       createDepSRs(manager, manifest, stdLibResolution));
   this.manifest = manifest;
   this.dubBundle = manifest.getBundle();
 }
Exemplo n.º 2
0
 protected static Indexable<BundleResolution> createDepSRs(
     SemanticManager manager,
     ResolvedManifest manifest,
     StandardLibraryResolution stdLibResolution) {
   ArrayList2<BundleResolution> depSRs = new ArrayList2<>();
   for (ResolvedManifest depManifest : manifest.getBundleDeps()) {
     /*FIXME: BUG here replace dep bundle resolutions?*/
     depSRs.add(new DubBundleResolution(manager, depManifest, stdLibResolution));
   }
   return depSRs;
 }