Class MethodSortMatcher<T extends MethodDescription>

    • Constructor Detail

      • MethodSortMatcher

        public MethodSortMatcher​(MethodSortMatcher.Sort sort)
        Creates a new element matcher that matches a specific sort of method description.
        Parameters:
        sort - The sort of method description to be matched by this element matcher.
    • Method Detail

      • matches

        public boolean matches​(T target)
        Matches a target against this element matcher.
        Parameters:
        target - The instance to be matched.
        Returns:
        true if the given element is matched by this matcher or false otherwise.