Class SwitchExpr.Component

  • Enclosing class:
    SwitchExpr

    public static final class SwitchExpr.Component
    extends Object
    One component of a record-deconstruction pattern: type binding.
    • Method Detail

      • getType

        public SourceType getType()
        Returns:
        the type
      • getBinding

        public String getBinding()
        Returns:
        the binding