Package net.bytebuddy.matcher
Class ElementMatcher.Junction.Conjunction<W>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<W>
net.bytebuddy.matcher.ElementMatcher.Junction.Conjunction<W>
- Type Parameters:
W
- The type of the object that is being matched.
- All Implemented Interfaces:
ElementMatcher<W>
,ElementMatcher.Junction<W>
- Enclosing interface:
ElementMatcher.Junction<S>
@Enhance
public static class ElementMatcher.Junction.Conjunction<W>
extends ElementMatcher.Junction.AbstractBase<W>
A conjunction matcher which only matches an element if both represented matchers constitute a match.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher.Junction
ElementMatcher.Junction.AbstractBase<V>, ElementMatcher.Junction.Conjunction<W>, ElementMatcher.Junction.Disjunction<W>, ElementMatcher.Junction.ForNonNullValues<W>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<ElementMatcher<? super W>> The element matchers that constitute this conjunction. -
Constructor Summary
ConstructorsConstructorDescriptionConjunction
(List<ElementMatcher<? super W>> matchers) Creates a new conjunction matcher.Conjunction
(ElementMatcher<? super W>... matcher) Creates a new conjunction matcher. -
Method Summary
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
Field Details
-
matchers
The element matchers that constitute this conjunction.
-
-
Constructor Details
-
Conjunction
Creates a new conjunction matcher.- Parameters:
matcher
- The represented matchers in application order.
-
Conjunction
Creates a new conjunction matcher.- Parameters:
matchers
- The represented matchers in application order.
-
-
Method Details