void () { ExternalProjectsStructure structure = getStructure(); if (structure == null) return; DependencyScopeExternalSystemNode scopeNode = findParent(DependencyScopeExternalSystemNode.class); if (scopeNode == null) return; DependencyExternalSystemNode referencedNode = findReferencedNode(scopeNode); if (referencedNode != null) { structure.select(referencedNode); structure.expand(referencedNode); } }