open static fun getAllDeclaredMethods(leafClass: Class<*>): Array<Method>
Get all declared methods on the leaf class and all superclasses. Leaf class methods are included first.
leafClass - the class to introspect
leafClass
IllegalStateException - if introspection fails
IllegalStateException