Package net.bytebuddy.matcher
Class LatentMatcher.ForMethodToken.ResolvedMatcher
- java.lang.Object
-
- net.bytebuddy.matcher.LatentMatcher.ForMethodToken.ResolvedMatcher
-
- All Implemented Interfaces:
ElementMatcher<MethodDescription>
- Enclosing class:
- LatentMatcher.ForMethodToken
@Enhance protected static class LatentMatcher.ForMethodToken.ResolvedMatcher extends java.lang.Object implements ElementMatcher<MethodDescription>
A resolved matcher of a latent method matcher for a method token.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
-
-
Field Summary
Fields Modifier and Type Field Description private MethodDescription.SignatureToken
signatureToken
The signature token representing the matched field.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResolvedMatcher(MethodDescription.SignatureToken signatureToken)
Creates a new resolved matcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(MethodDescription target)
Matches a target against this element matcher.
-
-
-
Field Detail
-
signatureToken
private final MethodDescription.SignatureToken signatureToken
The signature token representing the matched field.
-
-
Constructor Detail
-
ResolvedMatcher
protected ResolvedMatcher(MethodDescription.SignatureToken signatureToken)
Creates a new resolved matcher.- Parameters:
signatureToken
- The signature token representing the matched field.
-
-
Method Detail
-
matches
public boolean matches(MethodDescription target)
Matches a target against this element matcher.- Specified by:
matches
in interfaceElementMatcher<MethodDescription>
- Parameters:
target
- The instance to be matched.- Returns:
true
if the given element is matched by this matcher orfalse
otherwise.
-
-