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;
    }
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.

@param _parent parent type
@return list of all child types
@throws CacheReloadException on error