public IMouseState createBendHoverState(final Bend b, final MouseEvent event) {
    final CBendHoverState state = new CBendHoverState(this, m_graph, b);

    m_factory.createBendHoverAction().execute(state, event);

    return state;
  }
Creates a new state object when the bend enters hover state.

@param b The bend in hover state.
@param event The mouse event that caused the state change.
@return The state object that describes the mouse state.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/CStateFactory.java