Class LatentMatcher.ForMethodToken.ResolvedMatcher

    • 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 interface ElementMatcher<MethodDescription>
        Parameters:
        target - The instance to be matched.
        Returns:
        true if the given element is matched by this matcher or false otherwise.