Thrift adds meta data to the generated class, giving details of the type,
name and any constraints (required, for example).

Have a look at the generated class in an editor, it's pretty clear and
straightforward.

--Jools

On 9 December 2011 09:01, rektide <[email protected]> wrote:

> Hi,
>
> I'm looking to do some reflection on ThriftTypes. My hope is that from a
> .thrift file in
> Java, there's some relatively straightforward path to pulling out the
> data-type for any
> given field (picked by name).  What's the starting point for this; how can
> I load in a
> .thrift file?
>
> Regards,
> rektide
>

Reply via email to