docs: public static boolean isConstantOrConstantLiteral(Expression expression) {
          return expression instanceof ConstantExpression ||
              isPredefinedConstant(expression) ||
              isMapLiteralWithOnlyConstantValues(expression) ||
              isListLiteralWithOnlyConstantValues(expression);
      }