oleg shteynbuk wrote:
there is also dynamic method invocation using reflection. but most
users do not right libraries or use reflection so it make sense to
have such warning as an option. i believe there are tools like lint
for java that might give you just this, but i could not name anything
off my hat.
I know that there are several ways to call a public method that cannot
be detected. Also there are some good reasons for not detecting "orphan
methods", e.g. in libraries.
The functionality I was asking for is more like a metric
but a warning and my intention was to use it to discover unused methods
in applications.
By the way, is there a kind of "reference counter" or "cross reference
list" that can be produced with Eclipse or one of its plug-ins?
Obviously, that would do the job.
Kind regards,
Hans