code: public void setProxyClass(Class newProxyClass)
      {
          proxyClass = newProxyClass;
          if (proxyClass == null)
          {
              setProxyClassName(null);
          }
          else
          {
              proxyClassName = proxyClass.getName();
          }
      }
docs: Sets the proxy class to be used.
  @param newProxyClass java.lang.Class