private List < Type > getAllChildTypes ( final Type _parent ) throws CacheReloadException { final List < Type > ret = new ArrayList <> ( ) ; for ( final Type child : _parent . getChildTypes ( ) ) { ret . addAll ( getAllChildTypes ( child ) ) ; ret . add ( child ) ; } return ret ; }
Recursive method to get all child types for a type .