public void forEachTransitionFrom(final State state, final Consumer<TransitionGroup> consumer)
    {
        final List<TransitionGroup> transitionGroups = transitionsByState.get(state);
        if (null != transitionGroups)
        {
            transitionGroups.forEach(consumer);
        }
    }
Finds the possible transitions from a given state.
@param state the state to find transitions from.
@param consumer the consumer of the transitions.
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/common/FieldPrecedenceModel.java