private static boolean shouldInsertParentheses(PsiElement position) {
    final GrNewExpression newExpression = findNewExpression(position);
    return newExpression != null && ContainerUtil.findInstance(GroovyExpectedTypesProvider.getDefaultExpectedTypes(newExpression),
                                                               PsiArrayType.class) == null;
  }
private static boolean shouldInsertParentheses(PsiElement position)