void (PsiElement element, VirtualFile file, boolean structure) { SmartList<TreePath> list = new SmartList<>(); TreeVisitor visitor = AbstractProjectViewPane.createVisitor(element, file, list); if (visitor != null) acceptAndUpdate(visitor, list, structure); }