Find Code Calling Deprecated Java API

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Find Code Calling Deprecated Java API

lun.cheung
This post was updated on .
I want to find out if any source code is calling any Java API that is marked deprecated, e.g. java.util.Date.getDate(); (link<https://docs.oracle.com/javase/7/docs/api/java/util/Date.html#getDate()>). Sonarqube can find code calling my custom method that is marked deprecated. But it cannot find code that is calling deprecated code from Java API.