private boolean canRestart(int lexerState) {
    if (myLexer instanceof RestartableLexer) {
      return ((RestartableLexer)myLexer).isRestartableState(lexerState);
    }
    return lexerState == myInitialState;
  }
private boolean canRestart(int lexerState)