@Override
  public void advance() {
    if (myStopped) return;
    super.advance();

    if (myCondition.stopsAt(getDelegate().getTokenType(), getDelegate().getTokenStart(), getDelegate().getTokenEnd())) {
      myStopped = true;
    }
  }
@Override
  public void advance()