boolean (@NotNull AbstractTreeNode pathComponent, @NotNull VirtualFile thisComponent) { Node node = pathComponent instanceof Node ? (Node)pathComponent : null; if (node == null || !node.contains(thisComponent, area)) { return false; } if (list != null) { list.add(node); } return true; }