Method to generate the method "jdoGetZZZ" using ASM for CHECK_READ fields.
static YYY jdoGetZZZ(MyClass objPC) { if (objPC.jdoFlags > 0 && objPC.jdoStateManager != null && !objPC.jdoStateManager.isLoaded(objPC, 2)) return objPC.jdoStateManager.getStringField(objPC, 2, objPC.ZZZ); if (objPC.jdoIsDetached() != false && ((BitSet)objPC.jdoDetachedState[2]).get(2) != true) throw new JDODetachedFieldAccessException ("You have just attempted to access field \"ZZZ\" yet this field was not detached ... "); return objPC.ZZZ; }
with the last part only applying when Detachable
@version $Revision: 1.9 $