Class StringSetMatcher
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<String>
net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<String>
net.bytebuddy.matcher.StringSetMatcher
- All Implemented Interfaces:
ElementMatcher<String>, ElementMatcher.Junction<String>
An element matcher which checks if a string is in a set of strings.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ElementMatcher
ElementMatcher.Junction<S>Nested classes/interfaces inherited from interface ElementMatcher.Junction
ElementMatcher.Junction.AbstractBase<V>, ElementMatcher.Junction.Conjunction<W>, ElementMatcher.Junction.Disjunction<W>, ElementMatcher.Junction.ForNonNullValues<W> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ElementMatcher.Junction.ForNonNullValues
matchesMethods inherited from class ElementMatcher.Junction.AbstractBase
and, or
-
Field Details
-
values
-
-
Constructor Details
-
StringSetMatcher
-
-
Method Details
-
doMatch
Matches the supplied value if it was found not to benull.- Specified by:
doMatchin classElementMatcher.Junction.ForNonNullValues<String>- Parameters:
target- The instance to be matched.- Returns:
trueif the given element is matched by this matcher orfalseotherwise.
-
toString
-