(Object[] array)
| 8112 | } |
| 8113 | |
| 8114 | static final Object[] mostSpecificArray(Object[] array) { |
| 8115 | if (isEmpty(array)) |
| 8116 | return array; |
| 8117 | |
| 8118 | Class<?> type = null; |
| 8119 | for (Object o : array) |
| 8120 | if (o != null) |
| 8121 | if (type == null) |
| 8122 | type = o.getClass(); |
| 8123 | else if (type != o.getClass()) |
| 8124 | return array; |
| 8125 | |
| 8126 | if (type == null) |
| 8127 | return array; |
| 8128 | else |
| 8129 | return (Object[]) Convert.convertArray(array, type); |
| 8130 | } |
| 8131 | |
| 8132 | static final <R extends Record> QuantifiedSelect<R> quantify(Quantifier q, Select<R> select) { |
| 8133 | switch (q) { |
no test coverage detected