Package jetbrains.mps.java.stub
Class JavaPackageNameStub
- java.lang.Object
 - 
- jetbrains.mps.java.stub.JavaPackageNameStub
 
 
- 
public class JavaPackageNameStub extends Object
Bridge Java package statement and the world of MPS Java stub models.- Since:
 - 3.3
 
 
- 
- 
Constructor Summary
Constructors Constructor Description JavaPackageNameStub(String name) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SModelIdasModelId()SModelReferenceasModelReference(SModuleReference inModule)booleanisDefaultPackage()default package is not handled by MPS; classes in default pkg can be referenced only from the default pkg as well, but there are no models that correspond to it 
 - 
 
- 
- 
Method Detail
- 
isDefaultPackage
public boolean isDefaultPackage()
default package is not handled by MPS; classes in default pkg can be referenced only from the default pkg as well, but there are no models that correspond to it 
- 
asModelId
@NotNull public SModelId asModelId()
- Returns:
 - identity, sufficient to identify java package within a module
 
 
- 
asModelReference
@NotNull public SModelReference asModelReference(@NotNull SModuleReference inModule)
- Parameters:
 inModule- identifies module that exposes/provides the package
 
 - 
 
 -