Treehoppers like this one are sometimes said to mimic thorns. If so, it would have to be a dull thorn, and it doesn’t do it much good hanging out on a leaf. More often though, you’ll find them hanging out together on branches.