PsiExpressionList (final CreateParameterInfoContext context, @NotNull final 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; }