Context getAllModules in package (import pack.*)


Anybody knows how i resolve all classes in a package?
Context.getModule allows me to get all modules in a class.
I search something like this Context.getModulesInpackage(pack:String).
I know i can use Context.resolvePath to find out the path but it doesn’t work if there is a package that overrites the packge for some modules (not for all) (std/ds comes to js/_std/ds, which not includes all classes) It could also a function that resolves all avaible Path.

I need it in the build Macro so something like onGenerator also not works for me.

The only possible solution i found is: getClassPath()
and search myself for it based on files (.hx).