code: static String getTieClassName(String remoteClassName)
      {
          StringBuilder tieBuilder = new StringBuilder(remoteClassName);
          int packageOffset = Math.max(remoteClassName.lastIndexOf('.') + 1,
                                       remoteClassName.lastIndexOf('$') + 1);
          tieBuilder.insert(packageOffset, '_');
          tieBuilder.append("_Tie");
  
          return tieBuilder.toString();
      }
docs: Utility method that returns the name of the Tie class that needs to
  be generated for the specified remote object class. Intended for
  use by JITDeploy only (should not be called directly). <p>
  
  Basically, the name of the Tie class for any remote object is
  the name of the remote object class, with an '_' prepended,
  and '_Tie' appended. <p>
  
  This method properly modifies the class name with or without
  a package qualification. <p>
  
  @param remoteClassName the fully qualified class name of the
  remote object.