antlr/stringtemplate4 — pull request #78 by JeffreyFalgout (2014-04-09 15:47:25+00:00)
Title: Type safety of AttributeRenderer and ModelAdaptor

Improved the type safety of AttributeRenderer and ModelAdaptor by converting them to generic interfaces.

Another goal behind this is to help dependency injection for `AttributeRenderer`s and `ModelAdaptor`s. If using a framework such as Guice, you can bind each `AttributeRenderer` to an implementation. If the interface is not generic you have to create a separate [binding annotation](https://code.google.com/p/google-guice/wiki/BindingAnnotations) for each `AttributeRenderer`, which creates a lot of boilerplate.