Interface MatchState

All Known Implementing Classes:
ConstructorMatchState

public interface MatchState
The state that is propagated across a match operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sun.tools.javac.code.Type
    The type of the class in which a member method or constructor is declared.
    default List<com.sun.tools.javac.code.Type>
    The method's formal parameter types.
    com.sun.tools.javac.code.Symbol.MethodSymbol
    sym()
    The method being matched.
  • Method Details

    • ownerType

      com.sun.tools.javac.code.Type ownerType()
      The type of the class in which a member method or constructor is declared.
    • sym

      com.sun.tools.javac.code.Symbol.MethodSymbol sym()
      The method being matched.
    • paramTypes

      default List<com.sun.tools.javac.code.Type> paramTypes()
      The method's formal parameter types.