Class IsIdentityOperation

java.lang.Object
tech.picnic.errorprone.refaster.matchers.IsIdentityOperation
All Implemented Interfaces:
com.google.errorprone.matchers.Matcher<ExpressionTree>, Serializable

public final class IsIdentityOperation extends Object implements com.google.errorprone.matchers.Matcher<ExpressionTree>
A matcher of expressions that represent identity operations.
See Also:
  • Constructor Details

    • IsIdentityOperation

      public IsIdentityOperation()
      Instantiates a new IsIdentityOperation instance.
  • Method Details

    • matches

      public boolean matches(ExpressionTree tree, com.google.errorprone.VisitorState state)
      Specified by:
      matches in interface com.google.errorprone.matchers.Matcher<ExpressionTree>