Snails do seem to like anubias and java ferns as a place to stick their egg clusters...probably because they are slow growing and firmer than many other plant leaves and stems. When you have overpopulation or snails, their egg clusters can practically encase the leaves...just remember that this is a Major clue that you are overfeeding your tank! (see, it is all your fault!.Lol...that is what happened in one of mine...the anubias almost died before I controlled it by 1, rehoming some snails in other tanks, 2, decreased feeding by quite a bit;...3, and yes, squishing tons of snails on tank walls, decorations, branches....oh and of course, scraping off tons of egg clutches!
Bettas do like protein snacks of smushed snails, but the bigger gouramis like them even better!
If you decide to keep your hitch hiker, be prepared to do all 3 or 4 of these things...or some variation of these things (my mom pulls the snails out and let's them dry up in a dish over night, then throws them in garbage.)