ThreeState (PsiClass psiClass, @NotNull PsiElement place) { PsiResolveHelper resolveHelper = JavaPsiFacade.getInstance(place.getProject()).getResolveHelper(); return MethodParenthesesHandler.hasParameters(ContainerUtil.filter(psiClass.getConstructors(), c -> resolveHelper.isAccessible(c, place, null))); }