void (final Object rootElement, final AbstractTreeStructure structure) { ProjectViewTestUtil.checkContainsMethod(rootElement, structure, kid -> { if (kid instanceof PackageElementNode) { return ((PackageElementNode)kid).getVirtualFiles(); } return null; }); }