void (@NotNull LexerPosition position) { MyLexerPosition pos = (MyLexerPosition)position; getDelegate().restore(pos.getOriginalPosition()); myTokenType = pos.getType(); myTokenStart = pos.getOffset(); myState = pos.getOldState(); }