Class SLanguageAdapterById
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.structure.language.SLanguageAdapter
 - 
- jetbrains.mps.smodel.adapter.structure.language.SLanguageAdapterById
 
 
 
- 
- All Implemented Interfaces:
 SLanguage
public final class SLanguageAdapterById extends SLanguageAdapter
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringLANGUAGE_PREFIX- 
Fields inherited from class jetbrains.mps.smodel.adapter.structure.language.SLanguageAdapter
ID_DELIM, myLanguageFqName 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SLanguageAdapterById(SLanguageId language, String fqName) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SLanguageAdapterByIddeserialize(String s)booleanequals(Object obj)SLanguageIdgetId()LanguageRuntimegetLanguageDescriptor()StringgetQualifiedName()The namespace of the language.LanguagegetSourceModule()The optional reference to a module containing the sources for the language.SModuleReferencegetSourceModuleReference()The optional reference to a module containing the sources for the language.inthashCode()Stringserialize()- 
Methods inherited from class jetbrains.mps.smodel.adapter.structure.language.SLanguageAdapter
getConcepts, getDatatypes, getLanguageRuntimes, getLanguageVersion, isValid, toString 
 - 
 
 - 
 
- 
- 
Field Detail
- 
LANGUAGE_PREFIX
public static final String LANGUAGE_PREFIX
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
SLanguageAdapterById
public SLanguageAdapterById(@NotNull SLanguageId language, @NotNull String fqName)
 
 - 
 
- 
Method Detail
- 
getId
@NotNull public SLanguageId getId()
 
- 
getQualifiedName
@NotNull public String getQualifiedName()
Description copied from interface:SLanguageThe namespace of the language. 
- 
getLanguageDescriptor
@Nullable public LanguageRuntime getLanguageDescriptor()
- Specified by:
 getLanguageDescriptorin classSLanguageAdapter
 
- 
getSourceModule
@Nullable public Language getSourceModule()
Description copied from interface:SLanguageThe optional reference to a module containing the sources for the language. This is useful, for example, when showing the definition of a concept for a used language element. It may be null.- Specified by:
 getSourceModulein interfaceSLanguage- Specified by:
 getSourceModulein classSLanguageAdapter
 
- 
getSourceModuleReference
public SModuleReference getSourceModuleReference()
Description copied from interface:SLanguageThe optional reference to a module containing the sources for the language. This is useful, for example, when showing the definition of a concept for a used language element.- Specified by:
 getSourceModuleReferencein interfaceSLanguage- Specified by:
 getSourceModuleReferencein classSLanguageAdapter
 
- 
serialize
public String serialize()
- Specified by:
 serializein classSLanguageAdapter
 
- 
deserialize
public static SLanguageAdapterById deserialize(String s)
 
 - 
 
 -