code: public static void write(ObjectOutput out, java.lang.reflect.Method meth)
              throws IOException {
          Class cl;
  
          if (meth == null) {
              ClassRef.write(out, null);
          } else {
              cl = meth.getDeclaringClass();
              ClassRef.write(out, cl);
              out.writeUTF(meth.getName());
              ClassRef.writeClasses(out, meth.getParameterTypes());
          }
      }
docs: Writes a Java Method object.
  @param  out  target to write to
  @param  meth object to be written