Which line is an example of the poetic technique metonymy?

“Let seed be grass, and grass turn into hay:”
“I’m martyr to a motion not my own;”
“I swear she cast a shadow white as stone.”
“These old bones live to learn her wanton ways:”