public final class WaitMatchers
extends Object
Matchers for method invocations related to Object.wait() and Condition.await();
-
Field Summary
Fields
static final Matcher<com.sun.source.tree.MethodInvocationTree>
Matches any wait/await method.
static final Matcher<com.sun.source.tree.MethodInvocationTree>
Matches wait/await methods that have a timeout.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.