public abstract static class JunctionMethodMatcher.AbstractBase extends Object implements JunctionMethodMatcher
JunctionMethodMatcher.AbstractBase, JunctionMethodMatcher.Conjunction, JunctionMethodMatcher.Disjunction
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
JunctionMethodMatcher |
and(MethodMatcher other)
Creates a new method matcher that returns
true if both this method matcher and the given
method matcher match a given method description. |
JunctionMethodMatcher |
or(MethodMatcher other)
Creates a new method matcher that returns
true if either this method matcher or the given
method matcher match a given method description. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
matches
public JunctionMethodMatcher and(MethodMatcher other)
JunctionMethodMatcher
true
if both this method matcher and the given
method matcher match a given method description.and
in interface JunctionMethodMatcher
other
- The method matcher to compose with this method matcher.true
if both this or the other
method matcher returns true.public JunctionMethodMatcher or(MethodMatcher other)
JunctionMethodMatcher
true
if either this method matcher or the given
method matcher match a given method description.or
in interface JunctionMethodMatcher
other
- The method matcher to compose with this method matcher.true
if either this or the other
method matcher returns true.Copyright © 2014. All rights reserved.