title: Autowiring based on generic types in Spring. How does it work?
body: <p>As you know, there is a new feature in Spring 4: <strong>autowiring based on generic types</strong>.
  It's very useful, but I wonder, how Spring developers were able to bypass type erasure, which had prevented them to develop such feature before.</p>