I am currently looking to write some Java code that does the following:
- Find particular classes in the package which extend X class
- Check if a try/catch block is used anywhere inside them (or more specifically if .getStackTrace() is called off a caught exception but overall if I find 'try/catch' usage that would be good enough)
- Keep track of the classes which satisfy the condition and return list of their names
Any help or suggestion is appreciated :-)
Aucun commentaire:
Enregistrer un commentaire