question: public void generate ( BatchEnvironment env , ClassDefinition cdef , File destDir ) { RemoteClass remoteClass = RemoteClass . forClass ( env , cdef ) ; if ( remoteClass == null ) return ; RMIGenerator gen ; try { gen = new RMIGenerator ( env , cdef , destDir , remoteClass , version ) ; } catch ( ClassNotFound e ) { env . error ( 0 , "rmic.class.not.found" , e . name ) ; return ; } gen . generate ( ) ; }
target:  Generate the source files for the stub and/or skeleton classes needed by RMI for the given remote implementation class.