private static void collectParameterNames(@NotNull PyParameter param, @NotNull Collection<String> acc) {
    final PyTupleParameter tupleParam = param.getAsTuple();
    if (tupleParam != null) {
      for (PyParameter subParam : tupleParam.getContents()) {
        collectParameterNames(subParam, acc);
      }
    }
    else {
      ContainerUtil.addIfNotNull(acc, param.getName());
    }
  }
private static void collectParameterNames(@NotNull PyParameter param, @NotNull Collection<String> acc)