allMethods - finds all methods declared by class or superclasses (both static and non-static)