private void unsetVersionProperty ( CodeBuilder b ) throws SupportException { StorableProperty < ? > property = mInfo . getVersionProperty ( ) ; // Set the property state to uninitialized. { String stateFieldName = StorableGenerator . PROPERTY_STATE_FIELD_NAME + ( property . getNumber ( ) >> 4 ) ; b . loadThis ( ) ; b . loadThis ( ) ; b . loadField ( stateFieldName , TypeDesc . INT ) ; int shift = ( property . getNumber ( ) & 0xf ) * 2 ; b . loadConstant ( ~ ( StorableGenerator . PROPERTY_STATE_MASK << shift ) ) ; b . math ( Opcode . IAND ) ; b . storeField ( stateFieldName , TypeDesc . INT ) ; } // Zero the property value. TypeDesc type = TypeDesc . forClass ( property . getType ( ) ) ; b . loadThis ( ) ; CodeBuilderUtil . blankValue ( b , type ) ; b . storeField ( property . getName ( ) , type ) ; }
Sets the version property to its initial uninitialized state .