code: public static <M extends TBase<?, ?>> ThriftWritable<M> newInstance(Class<M> tClass) {
      return new ThriftWritable<M>(new TypeRef<M>(tClass){});
    }
docs: Returns a ThriftWritable for a given Thrift class.