code: static boolean areAdjacent(Token first, Token second) {
      return first.endLine == second.beginLine && first.endColumn == second.beginColumn - 1;
    }
docs: Returns {@code true} if the two tokens are adjacent in the input stream with no intervening
  characters.