void (@NotNull AnActionEvent e) { final FacetType<?, ?> type = myFacetType; if (type == null) return; final FacetTypeId<?> underlyingFacetType = type.getUnderlyingFacetType(); if (underlyingFacetType == null) { addFacetToModule(type); } else { addSubFacet(type, underlyingFacetType); } }