public void pushToken(Token<TokenType> token){
  tokenStack.push(Objects.requireNonNull(token));
}

public void pushToken ( Token < TokenType > token ) { tokenStack . push ( Objects . requireNonNull ( token ) ) ; }
pushes the given token onto the token stack .
