code: public static <T extends MethodDescription> ElementMatcher.Junction<T> takesGenericArgument(int index, ElementMatcher<? super TypeDescription.Generic> matcher) {
          return takesGenericArguments(new CollectionElementMatcher<TypeDescription.Generic>(index, matcher));
      }
docs: Matches {@link MethodDescription}s that define a given generic type as a parameter at the given index.
  
  @param index   The index of the parameter.
  @param matcher A matcher for the generic type the matched method is expected to define as a parameter type.
  @param <T>     The type of the matched object.
  @return An element matcher that matches a given generic return type for a method description.