String (@NotNull PsiExpression expression, boolean boxing) { final PsiType expressionType = expression.getType(); assert expressionType != null; final PsiType arrayComponentType = TypeConversionUtil.erasure(expressionType); final String typeText = boxing ? ((PsiPrimitiveType)arrayComponentType).getBoxedTypeName() : arrayComponentType.getCanonicalText(); return "new " + typeText + "[]{" + expression.getText() + "}"; }