Files
openide/jps
Andrei.Kuznetsov ffbce8da16 IJPL-157852: Let JpsFileContent hold parsed file content, not just delegate to a reader
The goal is to take full control over iml parsing. Namely:
0. From WSM's point of view, iml/xml files are plain xml files that describe a project, not a component store. There are no components in WSM, there are entities. Partitioning (accessing components by names) is not really helpful here.
1. Get full access to iml/xml file content: soon we'll need a method like `getAllComponents`. Introducing this method to JpsFileContentReader does not look right because this would mean that some code might try parsing the whole config file, instead of querying its own piece of configuration.
2. Do not keep parsed iml files in the memory longer than needed (JpsFileContentReader may hold cached content longer than actually needed).

GitOrigin-RevId: 7461e6a1a0fa539feb025f6f626f224df56be230
2024-09-25 19:12:31 +00:00
..