Class GatedTypeMapping

java.lang.Object
org.ek9lang.compiler.phase5.GatedTypeMapping

final class GatedTypeMapping extends Object
Static mapping of gated system types to their required capability declaration. Primary types map to themselves; associated types map to their primary type. For example, TCPConnection maps to TCP because you cannot obtain a TCPConnection without going through TCP.
  • Constructor Details

    • GatedTypeMapping

      GatedTypeMapping()
  • Method Details

    • getRequiredCapability

      Optional<String> getRequiredCapability(String typeFqn)
    • isCoveredByCapabilities

      boolean isCoveredByCapabilities(String typeFqn, Set<String> declaredCapabilities)