Class MonadicCarrierRegistry.NamedEntry

java.lang.Object
org.apache.groovy.runtime.MonadicCarrierRegistry.NamedEntry
Enclosing class:
MonadicCarrierRegistry

public static final class MonadicCarrierRegistry.NamedEntry extends Object
One name-keyed allow-list row, for carriers Groovy must not depend on.
  • Method Details

    • carrierName

      public String carrierName()
      Returns the fully-qualified name matched against the value's type hierarchy.
      Returns:
      the carrier class name for this allow-list row
    • bind

      public String bind()
      Returns the bind-method name stored for this carrier.
      Returns:
      the bind method name, such as bind or flatMap
    • map

      public String map()
      Returns the map-method name stored for this carrier.
      Returns:
      the map method name stored on this row
    • toString

      public String toString()
      Overrides:
      toString in class Object