Method to generate the method "jdoGetZZZ" using ASM for MEDIATE_READ fields.
static YYY jdoGetZZZ(MyClass objPC) { if (objPC.jdoStateManager != null && !objPC.jdoStateManager.isLoaded(objPC, 0)) return (YYY) objPC.jdoStateManager.getObjectField(objPC, 0, objPC.ZZZ); if (objPC.jdoIsDetached() != false && ((BitSet) objPC.jdoDetachedState[2]).get(0) != true && ((BitSet) objPC.jdoDetachedState[3]).get(0) != true) throw new JDODetachedFieldAccessException(...); return objPC.ZZZ; }
with the last part only applying when Detachable
@version $Revision: 1.7 $