boolean (final PsiNewExpression expression, final PsiType expectedType) { final PsiNewExpression copy = (PsiNewExpression)expression.copy(); return canCollapseToDiamond(copy, copy, expectedType, true); }