How to get list of blueprint child components at compile time in editor?

Thanks very much, I went for a different solution in the end but this will be useful in the future.