A few Beatles/solo-Beatles examples.
"Yer Blues."
Lyric: “Just like Dylan’s Mr. Jones”
Reference: “Ballad of a Thin Man,” Bob Dylan ("There's something happening here, but you don't know what it is/Do you, Mister Jones?")
"For You Blue."
Lyric: (spoken during lead-guitary break) “
Elmore James got nothing on this, baby”
... Not as audible in this version as it is on "Let it Be" album, but it's there.
“How Do You Sleep?” John Lennon
Song/album titles referenced: Sgt. Pepper; Yesterday; Another Day ... none of those refs in a positive light, either. (Also notice the "orchestra tune-up" intro, an obvious jab at SPLHCB).
Ex-bandmate targeted: pre-Sir Paul McCartney