public void run() {
List<SNode> nodes = ListSequence.fromListWithValues(new ArrayList<SNode>(), FindUsagesManager.getInstance().findInstances(((AbstractConceptDeclaration) SNodeOperations.getAdapter(SConceptOperations.findConceptDeclaration("jetbrains.mps.baseLanguage.unitTest.structure.ITestCase"))), GlobalScope.getInstance(), new FindUsagesManager.ProgressAdapter(new EmptyProgressIndicator()), false));
for (SNode node : nodes) {
SModel model = SNodeOperations.getModel(node);
SModelDescriptor md = model.getModelDescriptor();
<BUG>IModule module = md.getModule();
if (ListSequence.fromList(ModuleChooserComponent.this.myCheckedModules).contains(module)) {</BUG>
continue;
}
ListSequence.fromList(ModuleChooserComponent.this.myCheckedModules).addElement(module);

public void run() {
List<SNode> nodes = ListSequence.fromListWithValues(new ArrayList<SNode>(), FindUsagesManager.getInstance().findInstances(((AbstractConceptDeclaration) SNodeOperations.getAdapter(SConceptOperations.findConceptDeclaration("jetbrains.mps.baseLanguage.unitTest.structure.ITestCase"))), GlobalScope.getInstance(), new FindUsagesManager.ProgressAdapter(new EmptyProgressIndicator()), false));
for (SNode node : nodes) {
SModel model = SNodeOperations.getModel(node);
SModelDescriptor md = model.getModelDescriptor();
ModuleReference module = md.getModule().getModuleReference();
if (ListSequence.fromList(ModuleChooserComponent.this.myCheckedModules).contains(module)) {
continue;
}
ListSequence.fromList(ModuleChooserComponent.this.myCheckedModules).addElement(module);
