Sorry this has been bothering you, certainly must have been quite frustrating without knowing the feature name! This feature is called “Code Mining” and those are “Code Mining annotations”.
To remove them, go to Preferences > Java > Editor > Code Minings and deselect the minings you aren’t interested in seeing.
Please let us know if you need further assistance.