semantic spoonerism
Definition - The coining and use of phrases that are the ironic inverse of another phrase, e.g., "the philosophy of poverty" and "the poverty of philosophy."

Etymology -
The term was coined by Arthur Koestler in his 1953 autobiography The Invisible Writing to describe a rhetorical device that was common to Marxist writing.

Example Usages -

1. "Equally popular was the use of what one may call semantic spoonerisms, initiated by Marx’s famous pamphlet against Proudhon, The Philosophy of Poverty and the Poverty of Philosophy. This delightful game could be varied endlessly: ‘the war on profits and the profits of war’, ‘the psychology of adolescence or the adolescence of psychology’, ‘the laws of terror and the terror of the law’, and so on."
(Source: Koestler, Invisible Writing, p 33 )

Please comment