A song was leaked in late 2010 with speculation that the lyrics were towards the singer 's x-boyfrined Travie McCoy .
In an interview with " Midweek " , Mars explained the lyrical inspiration for the song , " Every song I write has to do with a real - life experience , whether it 's at the time or me back - tracking to how I felt at another moment .