code: public static Class<?> read(ObjectInput in) throws java.io.IOException {
          byte dim;
          Class<?> cl;
          String name;
  
          dim = in.readByte();
          if (dim == -1) {
              return null;
          } else {
              name = in.readUTF();
              cl = classFind(name);
              if (cl == null) {
                  throw new RuntimeException("can't load class " + name);
              }
  
              while (dim-- > 0) {
                  cl = net.oneandone.sushi.util.Arrays.getArrayClass(cl);
              }
              return cl;
          }
      }
docs: Reads a class Object.
  @param  in  source to read from
  @return the Class read