@Nullable
  public static PsiElement getMethodParameterPsiElementAt(
      @Nullable MethodReference methodReference, int index) {

    if (methodReference == null) {
      return null;
    }

    return getMethodParameterPsiElementAt(methodReference.getParameterList(), index);
  }
  @Nullable
  public static String getMethodParameterAt(@NotNull MethodReference methodReference, int index) {

    ParameterList parameterList = methodReference.getParameterList();
    if (parameterList == null) {
      return null;
    }

    return getMethodParameterAt(parameterList, index);
  }