MinieLibrary/src/main/java/jme3utilities/minie/PhysicsDumper.java
/**
     * Print the activation state of the specified rigid body, unless it happens
     * to be in the expected state.
     *
     * @param body (not null, unaffected)
     */
Print the activation state of the specified rigid body, unless it happens
to be in the expected state.

@param body (not null, unaffected)
Print the activation state of the specified rigid body unless it happens to be in the expected state . @param body ( not null unaffected )
private void addActivationState(PhysicsRigidBody body) {
        int expectedState;
        if (body.isKinematic() || body instanceof PhysicsVehicle) {
            expectedState = Activation.exempt;
        } else if (body.isActive()) {
            expectedState = Activation.active;
        } else {
            expectedState = Activation.sleeping;
        }
        int activationState = body.getActivationState();
        if (activationState != expectedState) {
            stream.printf(" as=%d", activationState);
        }
    }
private void addActivationState ( PhysicsRigidBody body ) { int expectedState ; if ( body . isKinematic ( ) || body instanceof PhysicsVehicle ) { expectedState = Activation . exempt ; } else if ( body . isActive ( ) ) { expectedState = Activation . active ; } else { expectedState = Activation . sleeping ; } int activationState = body . getActivationState ( ) ; if ( activationState != expectedState ) { stream . printf ( " as=%d" , activationState ) ; } }
Print the activation state of the specified rigid body, unless it happens
 to be in the expected state.
Print the activation state of the specified rigid body unless it happens to be in the expected state .