Interface MethodMatcherPredicate

All Known Subinterfaces:
MethodMatcher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MethodMatcherPredicate
  • Method Details

    • matches

      boolean matches(int opcode, boolean isInvokeDynamic, String name, String descriptor)
    • and

      Creates a method matcher that matches if both this matcher and the other matcher pass.
      Parameters:
      other - the other matcher
      Returns:
      a new "and" matcher
    • negate

      default MethodMatcherPredicate negate()
      Creates a new method matcher that is inverted.
      Returns:
      a new inverted matcher