String () { final MultiMap<PsiElement, @Nls String> conflicts = new MultiMap<>(); final PsiElement element = getElement(); if (element instanceof PsiMethodCallExpression methodCallExpression) { final PsiMethod superConstructor = methodCallExpression.resolveMethod(); if (superConstructor != null) { InlineMethodProcessor.addInaccessibleMemberConflicts(superConstructor, new UsageInfo[]{new UsageInfo(methodCallExpression.getMethodExpression())}, new ReferencedElementsCollector(){ @Override protected void checkAddMember(@NotNull PsiMember member) { if (!PsiTreeUtil.isAncestor(superConstructor.getContainingClass(), member, false)) { super.checkAddMember(member); } } }, conflicts); if (InlineMethodProcessor.checkBadReturns(superConstructor) && !InlineUtil.allUsagesAreTailCalls(superConstructor)) { conflicts.putValue(superConstructor, JavaRefactoringBundle.message("inline.super.no.return.in.super.ctor")); } } } return conflicts.isEmpty() ? null : conflicts.values().iterator().next(); //todo }