blob: d758c68b882127e761eb48cb4d03b2e7e27a101d [file] [log] [blame]
package com.facebook.thrift.protocol;
import com.facebook.thrift.types.*;
/**
* Helper class that encapsulates field metadata.
*
* @author Mark Slee <mcslee@facebook.com>
*/
public class TField {
public TField() {}
public TField(String n, TType t, int i) {
this(n, t, new Int32(i));
}
public TField(String n, TType t, Int32 i) {
name = n;
type = t;
id = i;
}
public String name = "";
public TType type = TType.STOP;
public Int32 id = new Int32();
}