'Iterator.hasNext()' which calls 'next()'
Reports implementations of
ListIterator.hasPrevious() that call
ListIterator.previous() on the iterator instance. Such calls are almost certainly an error, as methods like
hasNext() should not modify the iterators state, while
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3