You can set the compiler to generate errors or warnings (your choice) for any usage of deprecated API.
Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API section.
Then, each use of a deprecated method or API will show up as an error/warning in the Problems view.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…