public BufferedTokenStream(TokenSource tokenSource) {if (tokenSource == null) {throw new NullPointerException("tokenSource cannot be null");}this.tokenSource = tokenSource;}
public BufferedTokenStream(ITokenSource tokenSource){if (tokenSource == null){throw new ArgumentNullException("tokenSource cannot be null");}this._tokenSource = tokenSource;}