void (@NotNull PsiMethodCallExpression call) { PsiMethodCallExpression nextCall = ExpressionUtils.getCallForQualifier(call); PsiElement anchor = call.getMethodExpression().getReferenceNameElement(); if (anchor != null && nextCall != null && isNewExpression(call) && isWriteOnlyCall(nextCall, false)) { holder.registerProblem(anchor, InspectionGadgetsBundle.message("write.only.object.display.name")); } }