Package org.jetbrains.mps.openapi.module
Interface SModuleReference
-
public interface SModuleReference
A globally unique reference to a module
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SModuleId
getModuleId()
String
getModuleName()
SModule
resolve(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
-
-