Package net.bytebuddy.matcher
Class LatentMatcher.ForFieldToken.ResolvedMatcher
- java.lang.Object
-
- net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<W>
-
- net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<FieldDescription>
-
- net.bytebuddy.matcher.LatentMatcher.ForFieldToken.ResolvedMatcher
-
- All Implemented Interfaces:
ElementMatcher<FieldDescription>,ElementMatcher.Junction<FieldDescription>
- Enclosing class:
- LatentMatcher.ForFieldToken
@Enhance protected static class LatentMatcher.ForFieldToken.ResolvedMatcher extends ElementMatcher.Junction.ForNonNullValues<FieldDescription>
A resolved matcher of a latent field matcher for a field token.
-
-
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
Fields Modifier and Type Field Description private FieldDescription.SignatureTokensignatureTokenThe signature token representing the matched field.
-
Constructor Summary
Constructors Modifier Constructor Description protectedResolvedMatcher(FieldDescription.SignatureToken signatureToken)Creates a new resolved matcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoMatch(FieldDescription target)Matches the supplied value if it was found not to benull.-
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues
matches
-
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
-
-
-
Field Detail
-
signatureToken
private final FieldDescription.SignatureToken signatureToken
The signature token representing the matched field.
-
-
Constructor Detail
-
ResolvedMatcher
protected ResolvedMatcher(FieldDescription.SignatureToken signatureToken)
Creates a new resolved matcher.- Parameters:
signatureToken- The signature token representing the matched field.
-
-
Method Detail
-
doMatch
protected boolean doMatch(FieldDescription target)
Matches the supplied value if it was found not to benull.- Specified by:
doMatchin classElementMatcher.Junction.ForNonNullValues<FieldDescription>- Parameters:
target- The instance to be matched.- Returns:
trueif the given element is matched by this matcher orfalseotherwise.
-
-