0

Possible Duplicate:
Find Java classes implementing an interface

Hi. I have been trying to find out a way to write a program that is able to find all classes that are implementing a particular interface. One way would be to iterate over the classpath i think, but is there a better way to do this, maybe using any built in eclipse functionalities?

Community
  • 1
  • 1

1 Answers1

0

There's some thoughts in this thread.. As far as Eclipse, it is open source. You could download the source code and look how they do it. (open type hierarchy is the function in the GUI)

Community
  • 1
  • 1
Jeanne Boyarsky
  • 12,156
  • 2
  • 49
  • 59
  • Or get IntelliJ - it tells you all the classes that implement an interface at the touch of an icon. – duffymo Apr 10 '11 at 13:17