Given the path to a class file, how can I find out if it implements a certain interface?
I could use javap and parse the output, but there are probably more intelligent ways.
I do not want to parse the source code because it may not be available. I should also note that the path of the class file will be available only at runtime.