Package org.jetbrains.mps.openapi.module
Interface SModuleReference
- 
- All Known Implementing Classes:
 ModuleReference
public interface SModuleReferenceA globally unique reference to a module 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SModuleIdgetModuleId()StringgetModuleName()SModuleresolve(SRepository repo) 
 - 
 
- 
- 
Method Detail
- 
getModuleName
@Nullable String getModuleName()
- Returns:
 - null if the name is not provided the name serves as extra information here
 
 
- 
resolve
@Nullable SModule resolve(@NotNull SRepository repo)
- Returns:
 - the SModule such that 
SModule.getModuleReference()equals to this one. SRepository is supposed to store only one module with the given module reference 
 
 - 
 
 -