Class WaitMatchers

java.lang.Object
com.google.errorprone.matchers.WaitMatchers

public class WaitMatchers
extends Object
Matchers for method invocations related to Object.wait() and Condition.await();
  • Field Details

    • waitMethod

      public static final Matcher<com.sun.source.tree.MethodInvocationTree> waitMethod
      Matches any wait/await method.
    • waitMethodWithTimeout

      public static final Matcher<com.sun.source.tree.MethodInvocationTree> waitMethodWithTimeout
      Matches wait/await methods that have a timeout.
  • Constructor Details

    • WaitMatchers

      public WaitMatchers()