Class JavaPackageNameStub


  • public class JavaPackageNameStub
    extends Object
    Bridge Java package statement and the world of MPS Java stub models.
    Since:
    3.3
    • Constructor Detail

      • JavaPackageNameStub

        public JavaPackageNameStub​(@NotNull
                                   String name)
    • 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