Package net.bytebuddy.matcher
Class RecordMatcher<T extends TypeDefinition>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<T>
net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<T>
net.bytebuddy.matcher.RecordMatcher<T>
- Type Parameters:
T- The type of the matched entity.
- All Implemented Interfaces:
ElementMatcher<T>,ElementMatcher.Junction<T>
@Enhance
public class RecordMatcher<T extends TypeDefinition>
extends ElementMatcher.Junction.ForNonNullValues<T>
Matches a record.
-
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> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues
matchesMethods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
Constructor Details
-
RecordMatcher
public RecordMatcher()
-
-
Method Details
-
doMatch
Matches the supplied value if it was found not to benull.- Specified by:
doMatchin classElementMatcher.Junction.ForNonNullValues<T extends TypeDefinition>- Parameters:
target- The instance to be matched.- Returns:
trueif the given element is matched by this matcher orfalseotherwise.
-
toString
-