Wagner made a caricature of Hanslick in his opera "Die Meistersinger von Nürnberg" in which the town clerk Beckmesser criticizes the young singer Walther who sings songs which break the traditional rules of composition.