Package jetbrains.mps.smodel
Class ConceptDeclarationScanner
- java.lang.Object
 - 
- jetbrains.mps.smodel.ConceptDeclarationScanner
 
 
- 
public class ConceptDeclarationScanner extends Object
Scanner of a model withConceptDeclarationsto find cross-model dependencies. Much likeModelDependencyScanneralbeit narrow tailored for structure models and extends relation between Language modules. 
- 
- 
Constructor Summary
Constructors Constructor Description ConceptDeclarationScanner() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<SModel>getDependencyModels()Set<SModule>getDependencyModules()Set<SNode>getExternalConcepts()Set<SNode>getExternalInterfaces()ConceptDeclarationScanneromitLangCore()As long as languages implicitly extend j.m.lang.core, any ConceptDeclaration implies import of j.m.lang.core.structure.BaseConcept.ConceptDeclarationScannerscan(SModel m) 
 - 
 
- 
- 
Method Detail
- 
omitLangCore
public ConceptDeclarationScanner omitLangCore()
As long as languages implicitly extend j.m.lang.core, any ConceptDeclaration implies import of j.m.lang.core.structure.BaseConcept. By default, this scanner gives all cross-model dependencies, including one ofBaseConcept. However, generally, there's little use for explicit lang.core import and we can safely omit it.- Returns:
 thisfor convenience
 
- 
scan
public ConceptDeclarationScanner scan(SModel m)
 
 - 
 
 -