Code example for Method

Methods: getDeclaringClass, getName, getParameterTypes

0
         * @see java.io.Externalizable#writeExternal(java.io.ObjectOutput) 
         */ 
        public void writeExternal(ObjectOutput out) throws IOException {
            out.writeUTF((this.prefix != null) ? this.prefix : "");
            out.writeUTF(this.localName);
            out.writeUTF(this.m.getDeclaringClass().getName());
            out.writeUTF(this.m.getName());
            out.writeObject(ReflectionUtil.toTypeNameArray(this.m.getParameterTypes()));
        } 
     
        /* 
         * (non-Javadoc) 
         *  
         * @see java.io.Externalizable#readExternal(java.io.ObjectInput) 
         */ 
        public void readExternal(ObjectInput in) throws IOException,
                ClassNotFoundException { 
             
            this.prefix = in.readUTF();
            if ("".equals(this.prefix)) this.prefix = null;
            this.localName = in.readUTF();