I'm looking for a tool that can find methods that never get invoked during runtime in a Java spring boot application. The only thing I could find is https://github.com/crispab/codekvast which seems to be a dead project.
I'm also considering building my own Java agent that simply keeps track of all method invocations and then checks which methods are not invoked by finding all defined methods.
What's the best way to approach this?