Scala 3 Macro. Symbols of all classes in classpath

When writing a macro I can access its Symbol using Symbol.classSymbol(“ClassName”). Is it possible to access all available class Symbols? Find the names of all classes?

Thank you

Not exactly what you’re looking for, but the closest thing I’ve seen is this tutorial:

Thank you alot. This might even be better than what I was looking for.

you can also use quotes.reflect.defn.RootClass to get the class that represents the _root_ package and from there access its declarations, which will contain all packages on the classpath.