private static PsiExpressionList findMethodsForArgumentList(final CreateParameterInfoContext context,
                                                              final @NotNull PsiExpressionList argumentList) {

    CandidateInfo[] candidates = getMethods(argumentList);
    if (candidates.length == 0) {
      return null;
    }
    PsiMethod method = argumentList.getParent() instanceof PsiCall call ? call.resolveMethod() : null;
    CandidateWithPresentation[] items = ContainerUtil.map2Array(candidates, CandidateWithPresentation.class,
      c -> new CandidateWithPresentation(c,
                                         MethodPresentation.from((PsiMethod)c.getElement(),
                                                    getCandidateInfoSubstitutor(c, method != null && c.getElement() == method))));
    context.setItemsToShow(items);
    return argumentList;
  }
private static PsiExpressionList findMethodsForArgumentList(final CreateParameterInfoContext context,
                                                              final @NotNull PsiExpressionList argumentList)