A Tom Swifty is a kind of wordplay that plays a pun on the content of the quoted sentence. They’re delightfully awful. E.g.”‘You have the right to remain silent,’ said Tom arrestingly.” They came originally from the Tom Swift series of books, whose writers tried to avoid repetition of the word “said” without any decoration, so they kept looking for adverbial additions. Here are a couple lists of Tom Swifties and an essay in appreciation of the books.