docs: protected final synchronized void setState(int oldState, int newState)
                      throws InvalidBeanOStateException, BeanNotReentrantException // LIDB2775-23.7
      {
          //------------------------------------------------------------------------
          // Inlined assertState(oldState); for performance.               d154342.6
          //------------------------------------------------------------------------
          if (state != oldState) {
              throw new InvalidBeanOStateException(getStateName(state),
                              getStateName(oldState));
          }
  
          if (TraceComponent.isAnyTracingEnabled() && // d527372
              TEBeanLifeCycleInfo.isTraceEnabled())
              TEBeanLifeCycleInfo.traceBeanState(state, getStateName(state), newState,
                                                 getStateName(newState)); // d167264
  
          //------------------------------------------------------------------------
          // Inlined setState(newState); for performance.                  d154342.6
          //------------------------------------------------------------------------
          state = newState;
      }