Package jetbrains.mps.smodel.adapter
Class MetaAdapterByDeclaration
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.MetaAdapterByDeclaration
 
 
- 
public class MetaAdapterByDeclaration extends Object
This allows to convert source-level (non-published code) entities to structure-level ids (published code ids) DebugRegistry must not be used inside of this class. Only straightforward conversions are allowed NOTE: todo: we should review all usages of this class and distinguish usages and meta-usages (sometimes we want e.g. inheritance info on "published" concept, sometimes on nodes) todo usage of this class is rather node-level information usage and should be rewritten 
- 
- 
Constructor Summary
Constructors Constructor Description MetaAdapterByDeclaration() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SConceptasInstanceConcept(SAbstractConcept abstractConcept)static SAbstractConceptgetConcept(SNode conceptNode)static SContainmentLinkgetContainmentLink(SNode c)static SConceptgetInstanceConcept(SNode c)static SLanguagegetLanguage(Language l)static SPropertygetProperty(SNode c)static SReferenceLinkgetReferenceLink(SNode c) 
 - 
 
- 
- 
Method Detail
- 
getConcept
public static SAbstractConcept getConcept(@NotNull SNode conceptNode)
 
- 
asInstanceConcept
public static SConcept asInstanceConcept(SAbstractConcept abstractConcept)
 
- 
getContainmentLink
public static SContainmentLink getContainmentLink(SNode c)
 
- 
getReferenceLink
public static SReferenceLink getReferenceLink(SNode c)
 
 - 
 
 -