INRIA/spoon — pull request #109 by monperrus (2014-11-25 19:32:07+00:00)
Title: Refactoring template

refactors the template mechanism:

* introduces an AbstractTemplate that contains generic template code
* clarifies the responsibilities of Template and TemplateParameter
* reifies the responsibility of Substitution.insertAll as an ExtensionTemplate
* changes SubstitutionVisitor (allows null targetType, handles cloning of parameters, better variable name for factory)

+ new test cases