mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Immediate parent is a file when the reference is created from stub, in other cases it might be a child of another tree with another context, so it's incorrect to go to the containing file skipping the tree; for example when inferring parameter types from outer calls the reference will be part of big method tree with the original method as a context. GitOrigin-RevId: 30b1cc4d25b803cfd7291d2f4019acec6c2420f6