Open suztomo opened 4 years ago
I'm beginning to think a lot of the confusion is because we expose a lot of implementation detail in our APIs. E.g. all these multimaps and listmultimaps and the like. I suspect we need clearer, more domain specific types. In fact, I think we can reduce all of this to two basic types: a dependency graph and an annotated classpath that links entries back to the maven dependency graph.
@elharo says:
https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/1135/files/a2dc1f7d9cd2ff0950b2c4d01e5b80c2018d52f5#r367607402
As of now
Multimap<SymbolProblem, ClassFile>
Many-to-many relationship between SymbolProblem and ClassFile.ArtifactProblem
Example: non-resolvable artifacts in a dependency tree, when constructing a class path.