public void addMessage(final long messageId, final List<Token> messageTokens)
    {
        Verify.notNull(messageTokens, "messageTokens");

        captureTypes(messageTokens, 0, messageTokens.size() - 1);
        updateComponentTokenCounts(messageTokens);

        messagesByIdMap.put(messageId, new ArrayList<>(messageTokens));
    }
Add a List of {@link Token}s for a given message id.

@param messageId     to identify the list of tokens for the message.
@param messageTokens the List of {@link Token}s representing the message.
sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/Ir.java