String (PsiExpression construction) { construction = PsiUtil.skipParenthesizedExprDown(construction); if (!(construction instanceof PsiNewExpression newExpression)) return null; final PsiJavaCodeReferenceElement classReference = newExpression.getClassReference(); if (!isReferenceTo(classReference, CommonClassNames.JAVA_LANG_STRING_BUILDER, CommonClassNames.JAVA_LANG_STRING_BUFFER)) { return null; } final PsiExpressionList argumentList = newExpression.getArgumentList(); if (argumentList == null) return null; final PsiExpression[] arguments = argumentList.getExpressions(); if (arguments.length == 0) return "\"\""; if (arguments.length != 1) return null; final PsiExpression argument = arguments[0]; final PsiType argumentType = argument.getType(); if (PsiTypes.intType().equals(argumentType)) return "\"\""; return argument.getText(); }