void (@NotNull CharSequence buffer, int startOffset, int endOffset, int initialState) { if (buffer.length() < endOffset) { LOG.error("buffer Length: " + buffer.length() + ", endOffset: " + endOffset, new Attachment("",buffer.toString())); } myBuffer = buffer; myEnd = startOffset; myBufferEnd = endOffset; myTokenType = locateToken(); }