code: public static <T extends MethodDescription> ElementMatcher.Junction<T> takesArguments(int length) {
          return new MethodParametersMatcher<T>(new CollectionSizeMatcher<ParameterList<?>>(length));
      }
docs: Matches a {@link MethodDescription} by the number of its parameters.
  
  @param length The expected length.
  @param <T>    The type of the matched object.
  @return A matcher that matches a method description by the number of its parameters.