1. A computer-implemented method of processing a reified generic in an interface method written in a first programming language, the method comprising: a processor accessing a definition and an invocation of the interface method from a memory device; the processor generating a definition of a general dispatch method in a second programming language; the processor generating definitions of special dispatch methods in the second programming language, each of the special dispatch methods corresponding to each primitive return type of the interface method; and the processor generating an invocation of either the general dispatch method or one of the special dispatch methods in the second programming language based on a return type of the interface method.