text: public void setInputStream(IntStream input) {this._input = null;this._tokenFactorySourcePair = new Pair<TokenSource, CharStream>(this, _input);reset();this._input = (CharStream)input;this._tokenFactorySourcePair = new Pair<TokenSource, CharStream>(this, _input);}