Class ElementMatcher.Junction.ForNonNullValues<W>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<W>
net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<W>
- Type Parameters:
W- The type of the object that is being matched.
- All Implemented Interfaces:
ElementMatcher<W>, ElementMatcher.Junction<W>
- Direct Known Subclasses:
AccessibilityMatcher, AnnotationTargetMatcher, AnnotationTypeMatcher, ArrayTypeMatcher, ByteBuddyMojo.FilePrefixMatcher, ByteBuddyMojo.StalenessFilter, ClassFileVersionMatcher, CollectionElementMatcher, CollectionErasureMatcher, CollectionItemMatcher, CollectionOneToOneMatcher, CollectionSizeMatcher, DeclaringAnnotationMatcher, DeclaringFieldMatcher, DeclaringMethodMatcher, DeclaringTypeMatcher, DefinedShapeMatcher, DescriptorMatcher, ErasureMatcher, FieldTypeMatcher, HashCodeAndEqualsPlugin.ValueMatcher, HasSuperClassMatcher, HasSuperTypeMatcher, InheritedAnnotationMatcher, InstanceTypeMatcher, IsNamedMatcher, LatentMatcher.ForFieldToken.ResolvedMatcher, LatentMatcher.ForMethodToken.ResolvedMatcher, MethodExceptionTypeMatcher, MethodOverrideMatcher, MethodParametersMatcher, MethodParameterTypeMatcher, MethodParameterTypesMatcher, MethodReturnTypeMatcher, MethodSortMatcher, ModifierMatcher, NameMatcher, PrimitiveTypeMatcher, RecordMatcher, SignatureTokenMatcher, StringMatcher, StringSetMatcher, SubTypeMatcher, SuperTypeMatcher, TypeSortMatcher, VisibilityMatcher
- Enclosing interface:
ElementMatcher.Junction<S>
@Enhance
public abstract static class ElementMatcher.Junction.ForNonNullValues<W>
extends ElementMatcher.Junction.AbstractBase<W>
An abstract base implementation that rejects null values.
-
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> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ElementMatcher.Junction.AbstractBase
and, or
-
Constructor Details
-
ForNonNullValues
public ForNonNullValues()
-
-
Method Details
-
matches
Matches a target against this element matcher.- Parameters:
target- The instance to be matched ornull.- Returns:
trueif the given element is matched by this matcher orfalseotherwise.
-
doMatch
Matches the supplied value if it was found not to benull.- Parameters:
target- The instance to be matched.- Returns:
trueif the given element is matched by this matcher orfalseotherwise.
-