code: private static void loadWrapperBase(GeneratorAdapter mg,
                                          String className,
                                          EJBWrapperType wrapperType)
      {
          mg.loadThis();
          if (wrapperType == LOCAL_BEAN || wrapperType == MANAGED_BEAN)
          {
              mg.visitFieldInsn(GETFIELD, className, LOCAL_BEAN_WRAPPER_FIELD,
                                LOCAL_BEAN_WRAPPER_FIELD_TYPE);
          }
          else if (wrapperType == MDB_NO_METHOD_INTERFACE_PROXY)
          {
              mg.visitFieldInsn(GETFIELD, className, MESSAGE_ENDPOINT_BASE_FIELD,
                                MESSAGE_ENDPOINT_BASE_FIELD_TYPE);
          }
      }
docs: F743-1756