void (Facet facet) { MasterDetailsComponent.MyNode moduleNode = getModuleStructureConfigurable().findModuleNode(facet.getModule()); if (moduleNode == null) return; addFacetNode(facet, moduleNode); FacetStructureConfigurable facetStructureConfigurable = myStructureConfigurable.getFacetStructureConfigurable(); final MasterDetailsComponent.MyNode facetTypeNode = facetStructureConfigurable.getOrCreateFacetTypeNode(facet.getType()); LOG.assertTrue(facetTypeNode != null, "Cannot found node for " + facet.getType()); facetStructureConfigurable.addFacetNodes(facetTypeNode, Collections.singletonList(facet), this); }