public static byte [ ] createFor ( ReloadableType rtype , IncrementalTypeDescriptor newVersionTypeDescriptor , String versionstamp ) { ClassReader fileReader = new ClassReader ( rtype . interfaceBytes ) ; DispatcherBuilderVisitor dispatcherVisitor = new DispatcherBuilderVisitor ( rtype , newVersionTypeDescriptor , versionstamp ) ; fileReader . accept ( dispatcherVisitor , 0 ) ; return dispatcherVisitor . getBytes ( ) ; }
Factory method that builds the dispatcher for a specified reloadabletype .