mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Before it iterated over all elements in the collection to find the element by name. Now, a special interface JpsNamedElementCollection with corresponding JpsNamedElementCollectionRole is introduced. Its implementation maintains a map from names to elements, allowing quickly finding an element by its name. (cherry picked from commit c9e83186586f81c25cab67b261ab3a8b74102f99) IJ-CR-157018 GitOrigin-RevId: 7d82b41d392bba5600660d9968c6211b7de0689e