code: public static PermissionStatus read(DataInput in) throws IOException {
      PermissionStatus p = new PermissionStatus();
      p.readFields(in);
      return p;
    }
docs: Create and initialize a {@link PermissionStatus} from {@link DataInput}.