How can I get a list of all classes in a given package?I tried this:
import scala.reflect.runtime.{currentMirror => cm} val classes = cm.staticPackage("scala.collection.mutable").typeSignature.declarations
But it seems to give me an empty list.
Aucun commentaire:
Enregistrer un commentaire