void (@NotNull PsiClass referencedClass, @NotNull PsiExpressionList argumentList, @NotNull PsiSubstitutor substitutor) { List<CandidateInfo> array = new ArrayList<>(); for (PsiMethod constructor : referencedClass.getConstructors()) { array.add(new MethodCandidateInfo(constructor, substitutor, false, false, argumentList, null, argumentList.getExpressionTypes(), null)); } CandidateInfo[] candidates = array.toArray(CandidateInfo.EMPTY_ARRAY); Collections.addAll(myResult, getExpectedArgumentTypesForMethodCall(candidates, argumentList, myExpr, myForCompletion)); }