mariusaeriksen/thrift-0.5.0-finagle — pull request #5 by znewman01 (2012-06-12 15:46:25+00:00)
Title: Support for typedefs

Currently, when generating Java source from a Thrift IDL that incorporates Thrift typedefs, the generated source includes constructs like "Future", which result in compilation errors. This is due to the way the Thrift compiler handles typedefs–it keeps track of them internally (which throws the boxed_type_name function off), but they should have no effect on generated Java source.

I added a condition to check for typedefs when generating boxed type names and generate the boxed version of the underlying type instead.