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 ( ) ) ; } }
Writes a Java Method object .