docs: private static void addFields(ClassWriter cw, EJBWrapperType wrapperType)
      {
          FieldVisitor fv;
  
          // For No-Interface view (LocalBean) add an instance variables to the
          // EJSContainer and associated BusinessLocalWrapper instance.    F743-1756
          if (wrapperType == LOCAL_BEAN || wrapperType == MANAGED_BEAN)
          {
              final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
  
              // --------------------------------------------------------------------
              // private BusinessLocalWrapper ivWrapperBase;
              // --------------------------------------------------------------------
              if (isTraceOn && tc.isDebugEnabled())
                  Tr.debug(tc, INDENT + "adding field : " +
                               LOCAL_BEAN_WRAPPER_FIELD + " " +
                               LOCAL_BEAN_WRAPPER_FIELD_TYPE);
  
              fv = cw.visitField(ACC_PRIVATE, LOCAL_BEAN_WRAPPER_FIELD,
                                 LOCAL_BEAN_WRAPPER_FIELD_TYPE,
                                 null, null);
              fv.visitEnd();
  
              if (wrapperType == MANAGED_BEAN)
              {
                  // --------------------------------------------------------------------
                  // private BeanO ivBeanO;
                  // --------------------------------------------------------------------
                  if (isTraceOn && tc.isDebugEnabled())
                      Tr.debug(tc, INDENT + "adding field : " +
                                   MANAGED_BEAN_BEANO_FIELD + " " +
                                   MANAGED_BEAN_BEANO_FIELD_TYPE);
  
                  fv = cw.visitField(ACC_PRIVATE, MANAGED_BEAN_BEANO_FIELD,
                                     MANAGED_BEAN_BEANO_FIELD_TYPE,
                                     null, null);
                  fv.visitEnd();
              }
          }
  
          if (wrapperType == MDB_NO_METHOD_INTERFACE_PROXY)
          {
              // --------------------------------------------------------------------
              // private MessageEndpointBase ivMessageEndpointBase;
              // --------------------------------------------------------------------
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, INDENT + "adding field : " +
                               MESSAGE_ENDPOINT_BASE_FIELD + " " +
                               MESSAGE_ENDPOINT_BASE_FIELD_TYPE);
  
              fv = cw.visitField(ACC_PRIVATE, MESSAGE_ENDPOINT_BASE_FIELD,
                                 MESSAGE_ENDPOINT_BASE_FIELD_TYPE,
                                 null, null);
              fv.visitEnd();
          }
      }