code: public static <T extends MethodDescription> ElementMatcher.Junction<T> takesGenericArgument(int index, Type type) {
          return takesGenericArgument(index, TypeDefinition.Sort.describe(type));
      }
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 type  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.