The answer is: allusion.
Allusion is a brief reference to a person, event, place or work of art. In the quote from Act 1, Scene 4 of Shakespeare's "Romeo and Juliet," Mercutio mentions Cupid humorously to make Romeo (who is depressed) have a good time at the party. In that respect, he says he suggests that Romeo finds someone and dances.