code: private static void addCommonStubMethods(ClassWriter cw,
                                               String stubClassName) {
          MethodVisitor mv;
  
          // -----------------------------------------------------------------------
          // public String[] _ids()
          // {
          //    return (String[]) _type_ids.clone();
          // }
          // -----------------------------------------------------------------------
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, INDENT + "adding method : _ids ()[Ljava/lang/String;");
  
          mv = cw.visitMethod(ACC_PUBLIC, "_ids", "()[Ljava/lang/String;", null, null);
          mv.visitCode();
          mv.visitFieldInsn(GETSTATIC, stubClassName, "_type_ids", "[Ljava/lang/String;");
          mv.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Object", "clone", "()Ljava/lang/Object;"); // RTC67550
          mv.visitTypeInsn(CHECKCAST, "[Ljava/lang/String;"); // RTC67550
          mv.visitInsn(ARETURN);
          mv.visitMaxs(1, 1);
          mv.visitEnd();
      }
docs: Adds all methods common to all Stub classes. <p>
  
  These methods are all defined by the Tie interface, javax.rmi.CORBA.Tie.
  Methods inherited by Tie (like _invoke from InvokeHandler) are
  NOT implemented here, but added elsewhere if required. <p>
  
  @param cw ASM ClassWriter to add the methods to.
  @param stubClassName fully qualified name of the Stub class
  with '/' as the separator character
  (i.e. internal name).