The Reflection packages might be useful. It could be used to check class files for methods.