예제 #1
0
 private void fillInLanguages() {
   myUsedLanguages = new HashSet<Language>();
   myUsedLanguages.addAll(getInitialUsedLanguages());
   for (DevKit dk : myUsedDevkits) {
     myUsedLanguages.addAll(dk.getAllExportedLanguages());
   }
   for (Language l : new ArrayList<Language>(myUsedLanguages)) {
     l.getDependenciesManager().collectAllExtendedLanguages(myUsedLanguages);
   }
 }
예제 #2
0
  private void fillInDevkits(Set<IModule> initialModules) {
    myUsedDevkits = new HashSet<DevKit>();
    for (IModule m : initialModules) {
      if (m instanceof DevKit) {
        DevKit dk = (DevKit) m;
        myUsedDevkits.add(dk);
        myUsedDevkits.addAll(dk.getAllExtendedDevkits());
      }

      for (DevKit dk : ModuleUtil.refsToDevkits(m.getUsedDevkitReferences())) {
        myUsedDevkits.add(dk);
        myUsedDevkits.addAll(dk.getAllExtendedDevkits());
      }
    }
  }