private static boolean isNonMethodNewExpression(PsiCallExpression expression) {
    if (!(expression instanceof PsiNewExpression)) return false;
    PsiNewExpression newExpression = (PsiNewExpression)expression;
    if (newExpression.isArrayCreation()) return true;
    // Default constructor call?
    PsiExpressionList list = newExpression.getArgumentList();
    if (list == null || !list.isEmpty()) return false;
    PsiJavaCodeReferenceElement reference = newExpression.getClassReference();
    return reference != null && reference.resolve() instanceof PsiClass;
  }
private static boolean isNonMethodNewExpression(PsiCallExpression expression)