registerClassHierarchyForReflection
Registers the transitive class hierarchy of the provided className for reflection.
The transitive class hierarchy contains the class itself and its transitive set of non-private nested subclasses.