private void addPropertyStateExtractMethod ( ) { MethodInfo mi = mClassFile . addMethod ( Modifiers . PRIVATE , PROPERTY_STATE_EXTRACT_METHOD_NAME , TypeDesc . INT , new TypeDesc [ ] { TypeDesc . STRING } ) ; addPropertySwitch ( new CodeBuilder ( mi ) , SWITCH_FOR_STATE ) ; }
Generates a private method which accepts a property name and returns PROPERTY_STATE_UNINITIALIZED PROPERTY_STATE_DIRTY or PROPERTY_STATE_CLEAN .