core/src/main/java/com/twitter/elephantbird/mapreduce/io/ThriftWritable.java
public static <M extends TBase<?, ?>> ThriftWritable<M> newInstance(Class<M> tClass) {
    return new ThriftWritable<M>(new TypeRef<M>(tClass){});
  }
public static <M extends TBase<?, ?>> ThriftWritable<M> newInstance(Class<M> tClass) {
    return new ThriftWritable<M>(new TypeRef<M>(tClass){});
  }
Returns a ThriftWritable for a given Thrift class.