private static Invoker getInvoker(HttpMessageContainer httpMessageContainer) {
        Invoker invoker;
        switch (httpMessageContainer.getName()) {
        // TODO Allow to inject the HTTP fuzz component
        case "History Table":
            invoker = Invoker.HISTORY_PANEL;
            break;
        case "treeSite":
            invoker = Invoker.SITES_PANEL;
            break;
        case AlertPanel.ALERT_TREE_PANEL_NAME:
            invoker = Invoker.ALERTS_PANEL;
            break;
        case SearchPanel.HTTP_MESSAGE_CONTAINER_NAME:
            invoker = Invoker.SEARCH_PANEL;
            break;
        case SpiderPanel.HTTP_MESSAGE_CONTAINER_NAME:
            invoker = Invoker.SPIDER_PANEL;
            break;
        case ActiveScanPanel.MESSAGE_CONTAINER_NAME:
            invoker = Invoker.ACTIVE_SCANNER_PANEL;
            break;
        case "ForcedBrowseMessageContainer":
            invoker = Invoker.FORCED_BROWSE_PANEL;
            break;
        case "fuzz.httpfuzzerResultsContentPanel":
            invoker = Invoker.FUZZER_PANEL;
            break;
        default:
            invoker = Invoker.UNKNOWN;
        }
        return invoker;
    }
private static Invoker getInvoker ( HttpMessageContainer httpMessageContainer ) { Invoker invoker ; switch ( httpMessageContainer . getName ( ) ) { case "History Table" : invoker = Invoker . HISTORY_PANEL ; break ; case "treeSite" : invoker = Invoker . SITES_PANEL ; break ; case AlertPanel . ALERT_TREE_PANEL_NAME : invoker = Invoker . ALERTS_PANEL ; break ; case SearchPanel . HTTP_MESSAGE_CONTAINER_NAME : invoker = Invoker . SEARCH_PANEL ; break ; case SpiderPanel . HTTP_MESSAGE_CONTAINER_NAME : invoker = Invoker . SPIDER_PANEL ; break ; case ActiveScanPanel . MESSAGE_CONTAINER_NAME : invoker = Invoker . ACTIVE_SCANNER_PANEL ; break ; case "ForcedBrowseMessageContainer" : invoker = Invoker . FORCED_BROWSE_PANEL ; break ; case "fuzz.httpfuzzerResultsContentPanel" : invoker = Invoker . FUZZER_PANEL ; break ; default : invoker = Invoker . UNKNOWN ; } return invoker ; }
Returns the {@code Invoker} behind the message container.

@param httpMessageContainer the message container that will be evaluated
@return the invoker or {@code Invoker#UNKNOWN} if the message container was not identified.
@see Invoker