Package net.bytebuddy.matcher
Class ElementMatcher.Junction.Disjunction<W>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<W>
net.bytebuddy.matcher.ElementMatcher.Junction.Disjunction<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.Disjunction<W>
extends ElementMatcher.Junction.AbstractBase<W>
A disjunction matcher which matches an element against matchers in order to constitute a successful 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 disjunction. -
Constructor Summary
ConstructorsConstructorDescriptionDisjunction
(List<ElementMatcher<? super W>> matchers) Creates a new disjunction matcher.Disjunction
(ElementMatcher<? super W>... matcher) Creates a new disjunction matcher. -
Method Summary
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
Field Details
-
matchers
The element matchers that constitute this disjunction.
-
-
Constructor Details
-
Disjunction
Creates a new disjunction matcher.- Parameters:
matcher
- The represented matchers in application order.
-
Disjunction
Creates a new disjunction matcher.- Parameters:
matchers
- The represented matchers in application order.
-
-
Method Details