Class MethodParametersMatcher<T extends MethodDescription>

Type Parameters:
T - The type of the matched entity.
All Implemented Interfaces:
ElementMatcher<T>, ElementMatcher.Junction<T>

@Enhance public class MethodParametersMatcher<T extends MethodDescription> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that matches a method's parameters.
  • Field Details

  • Constructor Details

    • MethodParametersMatcher

      public MethodParametersMatcher(ElementMatcher<? super ParameterList<? extends ParameterDescription>> matcher)
      Creates a new matcher for a method's parameters.
      Parameters:
      matcher - The matcher to apply to the parameters.
  • Method Details