Returns a sequence of nested classes from the given class This includes the class itself.
Gets all instances of R by traversing the given class and all of its nested classes.