Interface Requires

All Superinterfaces:
ApiHolder, Directive
All Known Implementing Classes:
RequiresImpl

public interface Requires extends Directive
Dependency on another Module
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    The dependent module is required at compile time and optional at runtime
    boolean
    Marks transitive Dependencies.

    Methods inherited from interface io.determann.shadow.api.ApiHolder

    getApi

    Methods inherited from interface io.determann.shadow.api.shadow.module.Directive

    getKind
  • Method Details

    • isStatic

      boolean isStatic()
      The dependent module is required at compile time and optional at runtime
    • isTransitive

      boolean isTransitive()
      Marks transitive Dependencies. Let's say A depends on B and B depends transitive on C. In this case A also depends on C. This is needed when B exposes C
    • getDependency

      Module getDependency()