findPantsRoot was called indirectly by JarMappings::librariesFile.
This was happening on each VFS event, so could be expensive
librariesFile needs BSP roots path. Previously it was extracted from expensive
importsFor method.
Now, the importsFor method is simplified, so it just takes BSP root from getBasePath. This means
we don't support cases when two .bloop projects are imported into a single IJ project. Anyways, the
support for this was never used or tested.
importsFor
method.importsFor
method is simplified, so it just takes BSP root fromgetBasePath
. This means we don't support cases when two.bloop
projects are imported into a single IJ project. Anyways, the support for this was never used or tested.