()
| 143 | private Iter unwrapped; |
| 144 | |
| 145 | @Override |
| 146 | public Item next() throws QueryException { |
| 147 | while(true) { |
| 148 | if(unwrapped == null) { |
| 149 | final Item item = iter.next(); |
| 150 | if(item == null) return null; |
| 151 | if(item instanceof final JNode jnode) { |
| 152 | unwrapped = jnode.value.unwrappedIter(qc); |
| 153 | } else { |
| 154 | return item; |
| 155 | } |
| 156 | } |
| 157 | final Item item = unwrapped.next(); |
| 158 | if(item != null) return item; |
| 159 | unwrapped = null; |
| 160 | } |
| 161 | } |
| 162 | }; |
| 163 | } |
| 164 |
nothing calls this directly
no test coverage detected