For a time it seems not so important to classify the metonymies as to make peas or dandelion taste like coffee.
1560s, from French métonymie (16c.) and directly from Late Latin metonymia, from Greek metonymia, literally "a change of name," related to metonomazein "to call by a new name; to take a new name," from meta- "change" (see meta-) + onyma, dialectal form of onoma "name" (see name (n.)). Figure in which the name of one thing is used in place of another that is suggested by or associated with it (e.g. the Kremlin for "the Russian government"). Related: Metonymic; metonymical.
metonymy me·ton·y·my (mə-tŏn'ə-mē)
In schizophrenia, a language disturbance in which an inappropriate but related word is used in place of the correct one.