code: private static void addFields(ClassWriter cw, String servantDescriptor)
      {
          FieldVisitor fv;
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d576626
  
          // -----------------------------------------------------------------------
          // private <servant class> target;
          // -----------------------------------------------------------------------
          if (isTraceOn && tc.isDebugEnabled())
              Tr.debug(tc, INDENT + "adding field : target " + servantDescriptor);
  
          fv = cw.visitField(ACC_PRIVATE, "target", servantDescriptor, null, null);
          fv.visitEnd();
  
          // -----------------------------------------------------------------------
          // private ORB orb;
          // -----------------------------------------------------------------------
          if (isTraceOn && tc.isDebugEnabled())
              Tr.debug(tc, INDENT + "adding field : orb Lorg/omg/CORBA/ORB;");
  
          fv = cw.visitField(ACC_PRIVATE, "orb", "Lorg/omg/CORBA/ORB;", null, null);
          fv.visitEnd();
  
          // -----------------------------------------------------------------------
          // private static final String _type_ids[];
          // -----------------------------------------------------------------------
          if (isTraceOn && tc.isDebugEnabled())
              Tr.debug(tc, INDENT + "adding field : _type_ids [Ljava/lang/String;");
  
          fv = cw.visitField(ACC_PRIVATE + ACC_FINAL + ACC_STATIC, "_type_ids",
                             "[Ljava/lang/String;", null, null);
          fv.visitEnd();
      }
docs: Defines the static and instance variables that are the same
  for all Tie classes. <p>
  
  <ul>
  <li> private <remote class> target;
  <li> private ORB orb;
  <li> private static final String _type_ids[];
  </ul>
  
  The fields are NOT initialized. <p>
  
  @param cw ASM ClassWriter to add the fields to.
  @param servantDescriptor fully qualified name of the servant
  (wrapper) class with '/' as the separator
  character (i.e. internal name), and
  wrapped with L; (jni style).