Interface SDependency


  • public interface SDependency
    Represents a dependency between modules. It points to the target module, can be of several kinds and may declare re-export.
    • Method Detail

      • isReexport

        boolean isReexport()
      • getTargetModule

        @NotNull
        SModuleReference getTargetModule()
        Target module of this dependency as we know it. Presence of a dependency doesn't mean its target is present, it's subject to resolution with appropriate SRepository
        Returns:
        identity of dependency target module
      • getTarget

        @Nullable
        SModule getTarget()
        Resolves dependency target in scope of source's repository. If a different scope/repository shall be used for resolution, use getTargetModule()
        Returns:
        null if dependency could not be resolved