Package jetbrains.mps.smodel.runtime
Interface StructureAspectDescriptor.Dependencies
- 
- Enclosing interface:
 - StructureAspectDescriptor
 
public static interface StructureAspectDescriptor.DependenciesDESIGN NOTE: technically, SAD shall express its language dependencies with SLanguageId, which is aligned with ConceptDescriptor fromStructureAspectDescriptor.getDescriptors(). However, I don't want to expose neither SLanguageId (though ready to discuss that), nor SLanguage (which it quite messed up interface with RT stuff access), but still would like to keep sort of 'debug info' (i.e. language name) along with the identity of dependency language which we might find handy for issue reporting. Indeed, it's easy to generate collection of SLanguage, but every time I see MetaAdapterFactory in the generated code, I frown. With inversion this class provides, we have some flexibility in a way we report dependencies. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaggregatedLanguage(long hiBits, long lowBits, String name)Report languages of foreign concepts aggregated by concepts of this language.voidextendedLanguage(long hiBits, long lowBits, String name)Report languages of foreign concepts extended by concepts of this language. 
 - 
 
- 
- 
Method Detail
- 
extendedLanguage
void extendedLanguage(long hiBits, long lowBits, String name)Report languages of foreign concepts extended by concepts of this language. Here, 'concepts' means both SConcept and SInterfaceConcept. 'lang.core' is not necessarily included unlessBaseConceptor any other lang.core concept is mentioned explicitly. 
- 
aggregatedLanguage
void aggregatedLanguage(long hiBits, long lowBits, String name)Report languages of foreign concepts aggregated by concepts of this language. IOW, a child role with a concept from another language get the language into this set. 
 - 
 
 -