vendredi 29 novembre 2019

Java/Kotlin - differentiating identical qualified names from different modules

I have a case where I have two modules that contain the same package and class names...

module-one

io.foo.Bar

module-two

io.foo.Bar

In either case, if I call Bar.class.getQualifiedName() I'll receive identical strings.

Is there a way to absolutely differentiate them from one another?





Aucun commentaire:

Enregistrer un commentaire