private static JavaResolveResult @Nullable [] getConstructorCandidates(PsiConstructorCall parentCall) {
    final JavaPsiFacade facade = JavaPsiFacade.getInstance(parentCall.getProject());
    PsiExpressionList argumentList = parentCall.getArgumentList();
    if (argumentList != null) {
      PsiClassType classType = null;
      if (parentCall instanceof PsiNewExpression) {
        PsiJavaCodeReferenceElement ref = ((PsiNewExpression)parentCall).getClassReference();
        classType = ref != null ? facade.getElementFactory().createType(ref) : null;
      }
      else if (parentCall instanceof PsiEnumConstant) {
        PsiClass containingClass = ((PsiEnumConstant)parentCall).getContainingClass();
        classType = containingClass != null ? facade.getElementFactory().createType(containingClass) : null;
      }

      if (classType != null) {
        return facade.getResolveHelper().multiResolveConstructor(classType, argumentList, parentCall);
      }
    }
    return null;
  }
private static JavaResolveResult @Nullable [] getConstructorCandidates(PsiConstructorCall parentCall)