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 Object implements ElementMatcher<MethodDescription>
A resolved matcher of a latent method matcher for a method token.
  • Field Details

  • Constructor Details

    • ResolvedMatcher

      protected ResolvedMatcher(MethodDescription.SignatureToken signatureToken)
      Creates a new resolved matcher.
      Parameters:
      signatureToken - The signature token representing the matched field.
  • Method Details

    • matches

      public boolean matches(@MaybeNull MethodDescription target)
      Matches a target against this element matcher.
      Specified by:
      matches in interface ElementMatcher<MethodDescription>
      Parameters:
      target - The instance to be matched or null.
      Returns:
      true if the given element is matched by this matcher or false otherwise.