Class MethodParameterTypeMatcher<T extends ParameterDescription>

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

@Enhance public class MethodParameterTypeMatcher<T extends ParameterDescription> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that matches a method's parameter's type.
  • Field Details

  • Constructor Details

    • MethodParameterTypeMatcher

      public MethodParameterTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
      Creates a new matcher for a method's parameter's type.
      Parameters:
      matcher - The matcher to apply to the type of the parameter.
  • Method Details