void ( @NotNull PsiNewExpression expression) { super.visitNewExpression(expression); final PsiType type = expression.getType(); if (!TypeUtils.typeEquals(CommonClassNames.JAVA_LANG_STRING_BUFFER, type) && !TypeUtils.typeEquals(CommonClassNames.JAVA_LANG_STRING_BUILDER, type)) { return; } final PsiExpressionList argumentList = expression.getArgumentList(); if (argumentList == null || !argumentList.isEmpty()) { return; } registerNewExpressionError(expression); }