public static IMouseStateChange enterBend(
      final CStateFactory<?, ?> m_factory, final MouseEvent event, final HitInfo hitInfo) {
    final Bend b = hitInfo.getHitBend();

    return new CStateChange(m_factory.createBendEnterState(b, event), true);
  }
Changes the state to bend enter state.

@param m_factory The state factory for all states.
@param event The mouse event that caused the state change.
@param hitInfo The information about what was hit.
@return The state object that describes the mouse state.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/transformations/CHitBendsTransformer.java