Beispiel #1
0
 protected Class resolveClass(ObjectStreamClass v) throws ClassNotFoundException, IOException {
   if (verbose) {
     System.out.println("*******************************BEGIN");
     System.out.println("**Stream ObjectStreamClass Descriptor");
     SerialBox.print(v);
   }
   Class cl = super.resolveClass(v);
   if (verbose) {
     ObjectStreamClass localDesc = ObjectStreamClass.lookup(cl);
     if (localDesc != null) {
       System.out.println("**Local JVM ObjectStreamClass Descriptor");
       SerialBox.print(localDesc);
     }
     System.out.println("*******************************END ");
   }
   return cl;
 }
Beispiel #2
0
 protected void annotateClass(Class cl) throws IOException {
   super.annotateClass(cl);
   if (verbose) {
     ObjectStreamClass desc = ObjectStreamClass.lookup(cl);
     System.out.println("******************");
     System.out.println("annotateClass(" + cl.getName() + ")");
     System.out.println("******************");
     SerialBox.print(desc);
   }
 }