protected void writeMethodInfo(PrintWriter out) {
      
      out.println("<pre>");
      
      Method[] methods = interfaceCls.getMethods();
      for(int i=0;i<methods.length;i++) {
         out.print("public ");
         Class returnType = methods[i].getReturnType();
         if(returnType.isArray()) {
            out.print(returnType.getComponentType().getName() + "[]");
         }
         else {
            out.print(returnType.getName());
         }
         
         out.print(" " + methods[i].getName());
         out.print("(");

         Class[] paramTypes = methods[i].getParameterTypes();
         for(int t=0;t<paramTypes.length;t++) {
            if(paramTypes[t].isArray()) {
               out.print(paramTypes[t].getComponentType().getName() + "[]");
            }
            else {
               out.print(paramTypes[t].getName());
            }
            if(t<paramTypes.length-1) {
               out.print(", ");
            }
         }
         out.print(")");
         
         Class[] exceptions = methods[i].getExceptionTypes();
         if(exceptions.length > 0) {
            out.print(" throws ");
            for(int e=0;e<exceptions.length;e++) {
               out.print(exceptions[e].getName());
               if(e<exceptions.length-1) {
                  out.print(", ");
               }
            }
         }
         
         out.println("; \n");
      }
      
      out.println("</pre>");
      
   }