Class ConstructorMatchState

java.lang.Object
com.google.errorprone.matchers.method.ConstructorMatchState
All Implemented Interfaces:
MatchState

public abstract class ConstructorMatchState
extends Object
implements MatchState
The state that is propagated across a match operation for constructors.
  • Constructor Details

    • ConstructorMatchState

      public ConstructorMatchState()
  • Method Details

    • ownerType

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

      public abstract com.sun.tools.javac.code.Symbol.MethodSymbol sym()
      The method being matched.
      Specified by:
      sym in interface MatchState