@pedro.veloso: in Intellij IDEA you can option-enter on a warning such as deprecation and press -> arrow right to see more options, there you will see “supress XYZ” for each location you can suppress the warning. Pick one, and the annotation will be added. This works for pretty much every warning.