Class RequiresComputation

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

public final class RequiresComputation extends Object implements com.google.errorprone.matchers.Matcher<ExpressionTree>
A matcher of expressions that may a non-trivial amount of computation.
See Also:
  • Constructor Details

    • RequiresComputation

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

    • matches

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