ANTLR3 version of Wrapper Generator