StubSkeletonWriter(BatchEnvironment env,RemoteClass remoteClass,StubVersion version){
  this.env=env;
  this.remoteClass=remoteClass;
  this.version=version;
  stubClassName=Util.binaryNameOf(remoteClass.classDoc()) + "_Stub";
  skeletonClassName=Util.binaryNameOf(remoteClass.classDoc()) + "_Skel";
  int i=stubClassName.lastIndexOf('.');
  packageName=(i != -1 ? stubClassName.substring(0,i) : "");
  stubClassSimpleName=stubClassName.substring(i + 1);
  skeletonClassSimpleName=skeletonClassName.substring(i + 1);
  remoteMethods=remoteClass.remoteMethods();
  methodFieldNames=nameMethodFields(remoteMethods);
}

StubSkeletonWriter ( BatchEnvironment env , RemoteClass remoteClass , StubVersion version ) { this . env = env ; this . remoteClass = remoteClass ; this . version = version ; stubClassName = Util . binaryNameOf ( remoteClass . classDoc ( ) ) + "_Stub" ; skeletonClassName = Util . binaryNameOf ( remoteClass . classDoc ( ) ) + "_Skel" ; int i = stubClassName . lastIndexOf ( '.' ) ; packageName = ( i != - 1 ? stubClassName . substring ( 0 , i ) : "" ) ; stubClassSimpleName = stubClassName . substring ( i + 1 ) ; skeletonClassSimpleName = skeletonClassName . substring ( i + 1 ) ; remoteMethods = remoteClass . remoteMethods ( ) ; methodFieldNames = nameMethodFields ( remoteMethods ) ; }
creates a stubskeletonwriter instance for the specified remote implementation class . the generated code will implement the specified jrmp stub protocol version .
