1. A computer implemented method for converting a source code in a first programming language to a code in a second programming language, the method comprising the steps of: preparing the source code in the first programming language; scanning the source code in the first programming language; determining, from the scanning, whether parameters of a target method have type parameters; acquiring a suffix if the target method parameters have the type parameters; generating a syntax class whose name is identical to the acquired syntax; generating a constructor having a dummy parameter of a type of the syntax class; adding the dummy parameter of the type of the synthetic class to a definition of the generated constructor; adding an appropriate value that matches the type of the dummy parameter to an invocation of the generated constructor; and generating a code in the second programming language converted based on a result of adding said dummy parameter and type matching values, wherein the first programming language is a programming language based on reification, and the second programming language is a programming language based on erasure.
1. A computer implemented method for converting a source code in a first programming language to a code in a second programming language, the method comprising the steps of: preparing the source code in the first programming language; scanning the source code in the first programming language; determining, from the scanning, whether parameters of a target method have type parameters; acquiring a suffix if the target method parameters have the type parameters; generating a syntax class whose name is identical to the acquired syntax; generating a constructor having a dummy parameter of a type of the syntax class; adding the dummy parameter of the type of the synthetic class to a definition of the generated constructor; adding an appropriate value that matches the type of the dummy parameter to an invocation of the generated constructor; and generating a code in the second programming language converted based on a result of adding said dummy parameter and type matching values, wherein the first programming language is a programming language based on reification, and the second programming language is a programming language based on erasure. 2. The method according to claim 1 , wherein the first programming language is X10, the second programming language is Java, and the code in the second programming language is a Java bytecode.