I had this problem with java.util.List, marked as deprecated. Somehow, I marked it as such through an “external annotation”.
To remove it:
- Go to the source code (in my case java.util.List)
- There should be an @ next to the type, click on it ...
- Deannotate java.lang.Deprecated
